- Class name: AdminTranslationsControllerCore
- Parent class: AdminController
- Source: controllers/admin/AdminTranslationsController.php line 27
- $all_iso_lang
- $ignore_folder
- $lang_selected
- $languages
- $link_lang_pack
- $missing_translations
- $modules_translations
- $post_limit_exceed
- $theme_selected
- $themes
- $total_expression
- $translations_informations
- $type_selected
- $_defaultOrderBy
- $_defaultOrderWay
- $_default_pagination
- $_filter
- $_group
- $_having
- $_includeContainer
- $_join
- $_languages
- $_list
- $_listTotal
- $_listsql
- $_orderBy
- $_orderWay
- $_pagination
- $_redirect
- $_select
- $_tmpTableFilter
- $_where
- $action
- $actions
- $actions_available
- $admin_webpath
- $allow_employee_form_lang
- $allow_export
- $base_tpl_form
- $base_tpl_view
- $bo_theme
- $bootstrap
- $boxes
- $breadcrumbs
- $bulk_actions
- $cache_lang
- $className
- $colorOnBackground
- $confirmations
- $content
- $controller_name
- $currentIndex
- $default_form_language
- $deleted
- $display
- $errors
- $explicitSelect
- $fieldImageSettings
- $fields_form
- $fields_form_override
- $fields_list
- $fields_options
- $fields_value
- $filter
- $filter_modules_list
- $helper
- $id
- $id_object
- $identifier
- $identifier_name
- $imageType
- $informations
- $is_cms
- $is_prestashop_up
- $lang
- $layout
- $list_id
- $list_natives_modules
- $list_no_link
- $list_partners_modules
- $list_simple_header
- $list_skip_actions
- $lite_display
- $logged_on_addons
- $meta_title
- $modals
- $modules_list
- $multiple_fieldsets
- $multishop_context
- $multishop_context_group
- $noLink
- $object
- $page_header_toolbar_btn
- $page_header_toolbar_title
- $path
- $position_group_identifier
- $position_identifier
- $required_database
- $required_fields
- $row_hover
- $shopLink
- $shopLinkType
- $shopShareDatas
- $show_form_cancel_button
- $show_page_header_toolbar
- $show_toolbar
- $show_toolbar_options
- $specificConfirmDelete
- $submit_action
- $tabAccess
- $tab_modules_list
- $table
- $template
- $token
- $toolbar_btn
- $toolbar_scroll
- $toolbar_title
- $tpl_delete_link_vars
- $tpl_folder
- $tpl_form_vars
- $tpl_list_vars
- $tpl_option_vars
- $tpl_required_fields_vars
- $tpl_view_vars
- $translationsTab
- $warnings
- $ajax
- $content_only
- $context
- $controller_type
- $css_files
- $display_footer
- $display_header
- $js_files
- $json
- $php_errors
- $php_self
- $redirect_after
- $status
- __construct
- _childValidation
- addCSS
- addFiltersToBreadcrumbs
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- addNewTabs
- addPageHeaderToolBarModulesListButton
- addRowAction
- addRowActionSkipList
- addToolBarModulesListButton
- afterAdd
- afterDelete
- afterImageUpload
- afterUpdate
- ajaxProcessGetModuleQuickView
- ajaxProcessOpenHelp
- beforeAdd
- beforeDelete
- beforeUpdateOptions
- changeModulesKeyTranslation
- checkAccess
- checkAndAddMailsFiles
- checkAndAddThemesFiles
- checkDirAndCreate
- checkIfKeyUseSprintf
- checkToken
- checkTranslationFile
- cleanMailContent
- clearModuleFiles
- copyFromPost
- copyMailFilesForAllLanguages
- createTemplate
- display
- displayAjax
- displayFooter
- displayHeader
- displayInformation
- displayLimitPostWarning
- displayMailBlockHtml
- displayMailBlockTxt
- displayMailContent
- displayMailEditor
- displayModuleOptions
- displayNoSmarty
- displayRequiredFields
- displayToggleButton
- displayWarning
- exportTabs
- fileExists
- filesListToPaths
- fillModuleData
- filterTabModuleList
- filterToField
- filterTranslationFiles
- findAndFillTranslations
- findAndWriteTranslationsIntoFile
- getAllModuleFiles
- getController
- getFieldValue
- getFieldsValue
- getFileToParseByTypeTranslation
- getInformations
- getLanguages
- getList
- getListModules
- getMailContent
- getMailFiles
- getMailPattern
- getModuleTranslations
- getModulesHasMails
- getModulesList
- getSelectedAssoShop
- getSubjectMail
- getSubjectMailContent
- getTinyMCEForMails
- getTranslationsInformations
- init
- initBreadcrumbs
- initContent
- initCursedPage
- initFooter
- initForm
- initFormBack
- initFormErrors
- initFormFields
- initFormFront
- initFormMails
- initFormModules
- initFormPDF
- initHeader
- initMain
- initModal
- initPageHeaderToolbar
- initProcess
- initShopContext
- initTabModuleList
- initToolbar
- initToolbarTitle
- isCached
- isFresh
- isXmlHttpRequest
- jsonConfirmation
- jsonError
- l
- listFiles
- loadObject
- myErrorHandler
- parsePdfClass
- postImage
- postProcess
- processAdd
- processBulkAffectZone
- processBulkDelete
- processBulkDisableSelection
- processBulkEnableSelection
- processBulkStatusSelection
- processDelete
- processDeleteImage
- processExport
- processFilter
- processPosition
- processResetFilters
- processSave
- processStatus
- processUpdate
- processUpdateFields
- processUpdateOptions
- recursiveGetModuleFiles
- redirect
- refresh
- removeCSS
- removeJS
- renderDetails
- renderForm
- renderKpis
- renderList
- renderModal
- renderModulesList
- renderOptions
- renderView
- run
- setDeprecatedMedia
- setHelperDisplay
- setMedia
- setTemplate
- setTypeSelected
- smartyOutputContent
- submitAddLang
- submitCopyLang
- submitExportLang
- submitImportLang
- submitTranslationsMails
- theme_exists
- updateAssoShop
- uploadImage
- userParseFile
- validateField
- validateRules
- viewAccess
- viewDetails
- writeSubjectTranslationFile
- writeTranslationFile
const DEFAULT_THEME_NAME = _PS_DEFAULT_THEME_NAME_
Name of theme by default
const TEXTAREA_SIZED = 70
protected array $all_iso_lang = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 43.
protected array $ignore_folder = array('.', '..', '.svn', '.git', '.htaccess', 'index.php')
- Visibility: protected
- This property is static.
- Source: controllers/admin/AdminTranslationsController.php line 49.
protected \Language $lang_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 67.
protected array $languages
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 55.
protected string $link_lang_pack = 'http://www.prestashop.com/download/lang_packs/get_each_language_pack.php'
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 34.
protected integer $missing_translations
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 40.
protected array $modules_translations = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 46.
protected boolean $post_limit_exceed = false
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 70.
protected string $theme_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 61.
protected array $themes
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 58.
protected integer $total_expression
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 37.
protected array $translations_informations = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 52.
protected string $type_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 64.
protected string $_defaultOrderBy = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 75.
protected mixed $_defaultOrderWay = 'ASC'
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 76.
protected integer $_default_pagination = 50
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 159.
protected array $_filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 150.
protected string $_group
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 224.
protected string $_having
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 227.
protected mixed $_includeContainer = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 249.
protected string $_join
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 218.
public mixed $_languages = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 37.
protected array $_list = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 126.
protected integer $_listTotal
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 144.
protected string $_listsql = ''
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 123.
protected string $_orderBy
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 162.
protected string $_orderWay
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 165.
protected array $_pagination = array(20, 50, 100, 300, 1000)
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 156.
protected boolean $_redirect = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 257.
protected string $_select
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 215.
protected array $_tmpTableFilter = ''
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 153.
protected string $_where
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 221.
protected mixed $action
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 247.
protected array $actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 171.
protected array $actions_available = array('view', 'edit', 'duplicate', 'delete')
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 168.
public mixed $admin_webpath
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 290.
public mixed $allow_employee_form_lang
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 39.
protected mixed $allow_export = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 181.
public mixed $base_tpl_form = null
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 86.
public mixed $base_tpl_view = null
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 85.
protected mixed $bo_theme
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 254.
public mixed $bootstrap = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 42.
protected array $boxes
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 209.
protected mixed $breadcrumbs
Current breadcrumb position as an array of tab names
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 282.
protected array $bulk_actions
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 204.
public array $cache_lang = array()
- Visibility: public
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 184.
public string $className
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 58.
protected mixed $colorOnBackground
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 243.
public mixed $confirmations = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 34.
public mixed $content
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 31.
public \current $controller_name
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 274.
public mixed $currentIndex
- Visibility: public
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 30.
public mixed $default_form_language
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 38.
protected boolean $deleted = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 236.
protected mixed $display
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 248.
public array $errors = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 94.
protected string $explicitSelect = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 212.
public array $fieldImageSettings = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 260.
protected array $fields_form
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 109.
protected \override $fields_form_override
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 112.
protected array $fields_list
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 100.
protected array $fields_options = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 118.
public mixed $fields_value = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 91.
protected boolean $filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 240.
protected array $filter_modules_list = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 103.
protected \Helper $helper
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 190.
public integer $id = -1
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 64.
protected integer $id_object
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 269.
protected string $identifier = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 54.
protected mixed $identifier_name = 'name'
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 55.
public string $imageType = 'jpg'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 263.
public mixed $informations = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 33.
protected mixed $is_cms = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 229.
protected mixed $is_prestashop_up = true
- Visibility: protected
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3483.
public boolean $lang = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 147.
public mixed $layout = 'layout.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 41.
public mixed $list_id
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 51.
protected mixed $list_natives_modules = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 292.
protected boolean $list_no_link = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 179.
protected mixed $list_partners_modules = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 293.
protected \define $list_simple_header
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 97.
protected array $list_skip_actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 174.
protected mixed $lite_display = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 177.
protected mixed $logged_on_addons = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 297.
protected mixed $meta_title
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 44.
public mixed $modals = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 295.
protected array $modules_list = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 106.
public boolean $multiple_fieldsets = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 89.
public mixed $multishop_context = -1
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 276.
public mixed $multishop_context_group = true
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 277.
protected mixed $noLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 241.
protected \instanciation $object
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 266.
public mixed $page_header_toolbar_btn = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 287.
public mixed $page_header_toolbar_title
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 286.
public mixed $path
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 29.
protected mixed $position_group_identifier
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 233.
protected string $position_identifier
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 232.
public mixed $required_database = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 66.
public array $required_fields = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 187.
protected boolean $row_hover = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 245.
protected mixed $shopLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 120.
public string $shopLinkType
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 72.
public mixed $shopShareDatas = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 35.
public mixed $show_form_cancel_button
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 288.
public mixed $show_page_header_toolbar = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 285.
protected boolean $show_toolbar = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 138.
protected boolean $show_toolbar_options = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 141.
protected mixed $specificConfirmDelete = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 242.
protected \override $submit_action
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 115.
public array $tabAccess
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 61.
protected mixed $tab_modules_list = array('default_list' => array(), 'slider_list' => array())
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 250.
public string $table = 'configuration'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 49.
public mixed $template = 'content.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 46.
public string $token
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 69.
protected array $toolbar_btn = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 132.
protected boolean $toolbar_scroll = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 135.
protected \define $toolbar_title
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 129.
public mixed $tpl_delete_link_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 80.
public mixed $tpl_folder
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 252.
public mixed $tpl_form_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 78.
public mixed $tpl_list_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 79.
public mixed $tpl_option_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 81.
public mixed $tpl_required_fields_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 83.
public mixed $tpl_view_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 82.
protected mixed $translationsTab = array()
Display modules list
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3535.
public mixed $warnings = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 32.
public boolean $ajax = false
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 75.
protected string $content_only = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 70.
protected \Context $context
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 35.
public mixed $controller_type
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 81.
public array $css_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 40.
protected string $display_footer
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 65.
protected boolean $display_header
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 55.
public array $js_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 45.
protected mixed $json = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 76.
public array $php_errors = array()
- Visibility: public
- This property is static.
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 50.
public mixed $php_self
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 82.
protected mixed $redirect_after = null
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 79.
protected mixed $status = ''
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 77.
mixed AdminTranslationsControllerCore::__construct()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 72
mixed AdminControllerCore::_childValidation()
Overload this method for custom checking
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3023
true ControllerCore::addCSS(mixed $css_uri, string $css_media_type, $offset)
Add a new stylesheet in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 249
- $css_uri mixed - Path to css file, or list of css files like this : array(array(uri => media_type), ...)
- $css_media_type string
- $offset mixed
mixed AdminControllerCore::addFiltersToBreadcrumbs()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 496
void ControllerCore::addJS(mixed $js_uri)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 295
- $js_uri mixed
void ControllerCore::addJquery($version, $folder, $minifier)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 336
- $version mixed
- $folder mixed
- $minifier mixed
mixed ControllerCore::addJqueryPlugin($name, null $folder, boolean $css)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 368
- $name mixed
- $folder null
- $css boolean
void ControllerCore::addJqueryUI($component, $theme, $check_dependencies)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 347
- $component mixed
- $theme mixed
- $check_dependencies mixed
mixed AdminTranslationsControllerCore::addNewTabs(array $iso_code, array $files)
Add new translations tabs by code ISO
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 592
- $iso_code array
- $files array
mixed AdminControllerCore::addPageHeaderToolBarModulesListButton()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1816
mixed AdminControllerCore::addRowAction($action)
Declare an action to use for each row in the list
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1710
- $action mixed
mixed AdminControllerCore::addRowActionSkipList($action, $list)
Add an action to use for each row in the list
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1719
- $action mixed
- $list mixed
mixed AdminControllerCore::addToolBarModulesListButton()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1827
mixed AdminControllerCore::afterAdd($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3056
- $object mixed
boolean AdminControllerCore::afterDelete(object $object, $oldId)
Called before deletion
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3051
- $object object - Object
- $oldId mixed
boolean AdminControllerCore::afterImageUpload()
Check rights to view the current tab
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3072
mixed AdminControllerCore::afterUpdate($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3061
- $object mixed
mixed AdminControllerCore::ajaxProcessGetModuleQuickView()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3804
mixed AdminControllerCore::ajaxProcessOpenHelp()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3316
boolean AdminControllerCore::beforeAdd(object $object)
Called before Add
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3410
- $object object - Object
boolean AdminControllerCore::beforeDelete(object $object)
Called before deletion
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3040
- $object object - Object
mixed AdminControllerCore::beforeUpdateOptions()
Can be overriden
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3190
boolean AdminTranslationsControllerCore::changeModulesKeyTranslation(string $path, string $theme_from, string $theme_to)
Change the key translation to according it to theme name.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 388
- $path string
- $theme_from string
- $theme_to string
mixed AdminControllerCore::checkAccess()
Check if the token is valid, else display a warning page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1374
mixed AdminTranslationsControllerCore::checkAndAddMailsFiles($iso_code, $files_list)
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 466
- $iso_code mixed
- $files_list mixed
mixed AdminTranslationsControllerCore::checkAndAddThemesFiles(array $files, array $themes_selected)
Move theme translations in selected themes
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 554
- $files array
- $themes_selected array
boolean AdminTranslationsControllerCore::checkDirAndCreate(string $dest)
This method is only used by AdminTranslations::submitCopyLang().
It try to create folder in new theme.
When a translation file is copied for a module, its translation key is wrong. We have to change the translation key and rewrite the file.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 245
- $dest string - file name
array|boolean AdminTranslationsControllerCore::checkIfKeyUseSprintf($key)
Find sentence which use %d, %s, %%, %1$d, %1$s.
..
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1696
- $key mixed - : english sentence
mixed AdminControllerCore::checkToken()
Check for security token
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 554
mixed AdminTranslationsControllerCore::checkTranslationFile($content)
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 634
- $content mixed
mixed AdminTranslationsControllerCore::cleanMailContent($content, $lang, $title)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2417
- $content mixed
- $lang mixed
- $title mixed
array AdminTranslationsControllerCore::clearModuleFiles($files, string $type_clear, string $path)
Clear the list of module file by type (file or directory)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 953
- $files mixed - : list of files
- $type_clear string - (file|directory)
- $path string
mixed AdminControllerCore::copyFromPost($object, string $table)
Copy datas from $_POST to object
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3083
- $object mixed
- $table string - Object table
mixed AdminTranslationsControllerCore::copyMailFilesForAllLanguages()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2551
\Template AdminControllerCore::createTemplate(string $tpl_name)
Create a template from the override file, else from the base file.
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3435
- $tpl_name string - filename
mixed AdminControllerCore::display()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1431
mixed AdminControllerCore::displayAjax()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1410
mixed ControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 212
- $display mixed
mixed ControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 207
- $display mixed
mixed AdminControllerCore::displayInformation(string $msg)
add a info message to display at the top of the page
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1515
- $msg string
mixed AdminTranslationsControllerCore::displayLimitPostWarning($count)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1671
- $count mixed
mixed AdminTranslationsControllerCore::displayMailBlockHtml(array $content, string $lang, string $url, string $mail_name, string $group_name, string|boolean $name_for_module)
Just build the html structure for display html mails.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2390
- $content array - with english and language needed contents
- $lang string - iso code of the needed language
- $url string - for the html page and displaying an outline
- $mail_name string - name of the file to translate (same for txt and html files)
- $group_name string - group name allow to distinguish each block of mail.
- $name_for_module string|boolean - is not false define add a name for disntiguish mails module
mixed AdminTranslationsControllerCore::displayMailBlockTxt(array $content, string $lang, string $mail_name, string $group_name, string|boolean $name_for_module)
Just build the html structure for display txt mails
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2371
- $content array - with english and language needed contents
- $lang string - iso code of the needed language
- $mail_name string - name of the file to translate (same for txt and html files)
- $group_name string - group name allow to distinguish each block of mail.
- $name_for_module string|boolean - is not false define add a name for disntiguish mails module
mixed AdminTranslationsControllerCore::displayMailContent(array $mails, array $all_subject_mail, \Language $obj_lang, string $id_html, string $title, string|boolean $name_for_module)
Display mails in html format.
This was create for factorize the html displaying
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2252
- $mails array
- $all_subject_mail array
- $obj_lang Language
- $id_html string - use for set html id attribute for the block
- $title string - Set the title for the block
- $name_for_module string|boolean - is not false define add a name for disntiguish mails module
mixed AdminTranslationsControllerCore::displayMailEditor($content, $lang, $url, $mail_name, $group_name, $name_for_module)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2409
- $content mixed
- $lang mixed
- $url mixed
- $mail_name mixed
- $group_name mixed
- $name_for_module mixed
mixed AdminControllerCore::displayModuleOptions($module, $output_type, $back)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3536
- $module mixed
- $output_type mixed
- $back mixed
mixed AdminControllerCore::displayNoSmarty()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1406
mixed AdminControllerCore::displayRequiredFields()
prepare the view to display the required fields form
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3418
mixed AdminTranslationsControllerCore::displayToggleButton($closed)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1655
- $closed mixed
mixed AdminControllerCore::displayWarning(string $msg)
add a warning message to display at the top of the page
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1505
- $msg string
mixed AdminTranslationsControllerCore::exportTabs()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 403
mixed AdminTranslationsControllerCore::fileExists()
Include file $dir/$file and return the var $var declared in it.
This create the file if not exists
return array : translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1636
mixed AdminTranslationsControllerCore::filesListToPaths($list)
Turn the list returned by AdminTranslationsController::filterTranslationFiles() into a list of paths that can be passed to Archive_Tar::extractList()
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 803
- $list mixed
mixed AdminControllerCore::fillModuleData($module, $output_type, $back)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3492
- $module mixed
- $output_type mixed
- $back mixed
mixed AdminControllerCore::filterTabModuleList()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1838
mixed AdminControllerCore::filterToField($key, $filter)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1393
- $key mixed
- $filter mixed
mixed AdminTranslationsControllerCore::filterTranslationFiles($list)
Filter the translation files contained in a .gzip pack and return only the ones that we want.
Right now the function only needs to check that the modules for which we want to add translations are present on the shop (installed or not).
$list is the output of Archive_Tar::listContent()
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 779
- $list mixed
void AdminTranslationsControllerCore::findAndFillTranslations(array $files, string $theme_name, string $module_name, string|boolean $dir)
This method get translation for each files of a module, compare with global $_MODULES array and fill AdminTranslations::modules_translations array With key as English sentences and values as their iso code translations.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 986
- $files array
- $theme_name string
- $module_name string
- $dir string|boolean
void AdminTranslationsControllerCore::findAndWriteTranslationsIntoFile(string $file_name, array $files, string $theme_name, string $module_name, string|boolean $dir)
This method check each file (tpl or php file), get its sentences to translate, compare with posted values and write in iso code translation file.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 875
- $file_name string
- $files array
- $theme_name string
- $module_name string
- $dir string|boolean
mixed AdminTranslationsControllerCore::getAllModuleFiles(array $modules, string $root_dir, string $lang, boolean $is_default)
This method get translation in each translations file.
The file depend on $lang param.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2746
- $modules array - list of modules
- $root_dir string - path where it get each modules
- $lang string - iso code of choosen language to translate
- $is_default boolean - set it if modules are located in root/prestashop/modules folder This allow to distinguish overrided prestashop theme and original module
mixed ControllerCore::getController(string $class_name, boolean $auth, boolean $ssl)
Get an instance of a controller
- Visibility: public
- This method is static.
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 133
- $class_name string
- $auth boolean
- $ssl boolean
string AdminControllerCore::getFieldValue(object $obj, string $key, integer $id_lang)
Return field value if possible (both classical and multilingual fields)
Case 1 : Return value if present in $_POST / $_GET Case 2 : Return object value
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2936
- $obj object - Object
- $key string - Field name
- $id_lang integer - Language id (optional)
array AdminControllerCore::getFieldsValue(object $obj)
Return the list of fields value
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2886
- $obj object - Object
array AdminTranslationsControllerCore::getFileToParseByTypeTranslation()
Get list of files which must be parsed by directory and by type of translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1049
mixed AdminTranslationsControllerCore::getInformations()
Get all informations on : languages, theme and the translation type.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1297
mixed AdminControllerCore::getLanguages()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2858
mixed AdminControllerCore::getList(integer $id_lang, string $order_by, $order_way, integer $start, integer $limit, $id_lang_shop)
Get the current objects' list form the database
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2600
- $id_lang integer - Language used for display
- $order_by string - ORDER BY clause
- $order_way mixed
- $start integer - Offset in LIMIT clause
- $limit integer - Row count in LIMIT clause
- $id_lang_shop mixed
array AdminTranslationsControllerCore::getListModules()
Check if directory and file exist and return an list of modules
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1988
array AdminTranslationsControllerCore::getMailContent(string $dir, string $file)
Get content of the mail file.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2231
- $dir string
- $file string
array AdminTranslationsControllerCore::getMailFiles(string $dir, string $group_name)
Get each informations for each mails found in the folder $dir.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2168
- $dir string
- $group_name string
mixed AdminTranslationsControllerCore::getMailPattern()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1511
mixed AdminTranslationsControllerCore::getModuleTranslations()
This method merge each arrays of modules translation in the array of modules translations
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 220
array AdminTranslationsControllerCore::getModulesHasMails($with_module_name)
Check in each module if contains mails folder.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2443
- $with_module_name mixed
mixed AdminControllerCore::getModulesList($filter_modules_list)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2820
- $filter_modules_list mixed
array AdminControllerCore::getSelectedAssoShop(string $table)
Returns an array with selected shops and type (group or boutique shop)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3120
- $table string
array AdminTranslationsControllerCore::getSubjectMail($dir, $file, $subject_mail)
Get list of subjects of mails
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2614
- $dir mixed
- $file mixed
- $subject_mail mixed
array AdminTranslationsControllerCore::getSubjectMailContent($directory)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2655
- $directory mixed - : name of directory
mixed AdminTranslationsControllerCore::getTinyMCEForMails($iso_lang)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2467
- $iso_lang mixed
mixed AdminTranslationsControllerCore::getTranslationsInformations()
Get all translations informations for all type of translations
array( 'type' => array( 'name' => string : title for the translation type, 'var' => string : name of var for the translation file, 'dir' => string : dir of translation file 'file' => string : file name of translation file ) )
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1239
mixed AdminControllerCore::init()
Init context and dependencies, handles POST and GET
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2267
mixed AdminControllerCore::initBreadcrumbs($tab_id, $tabs)
Set breadcrumbs array for the controller page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 398
- $tab_id mixed
- $tabs mixed
mixed AdminTranslationsControllerCore::initContent()
AdminController::initContent() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 93
void AdminControllerCore::initCursedPage()
initialize the invalid doom page of death
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1879
mixed AdminControllerCore::initFooter()
Assign smarty variables for the footer
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1887
\call AdminTranslationsControllerCore::initForm($method_name)
This function create vars by default and call the good method for generate form
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 125
- $method_name mixed
mixed AdminTranslationsControllerCore::initFormBack()
This method generate the form for back translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1796
mixed AdminTranslationsControllerCore::initFormErrors()
This method generate the form for errors translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2007
mixed AdminTranslationsControllerCore::initFormFields()
This method generate the form for fields translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2068
mixed AdminTranslationsControllerCore::initFormFront()
This method generate the form for front translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1706
mixed AdminTranslationsControllerCore::initFormMails($no_display)
This method generate the form for mails translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2486
- $no_display mixed
mixed AdminTranslationsControllerCore::initFormModules()
This method generate the form for modules translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2796
mixed AdminTranslationsControllerCore::initFormPDF()
This method generate the form for PDF translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2864
mixed AdminControllerCore::initHeader()
Assign smarty variables for the header
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1523
mixed AdminTranslationsControllerCore::initMain()
Generate the Main page
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 175
mixed AdminControllerCore::initModal()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1910
mixed AdminControllerCore::initPageHeaderToolbar()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1224
mixed AdminControllerCore::initProcess()
Retrieve GET and POST value and translate them to actions
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2412
mixed AdminControllerCore::initShopContext()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2340
mixed AdminControllerCore::initTabModuleList()
init tab modules list and add button in toolbar
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1791
mixed AdminTranslationsControllerCore::initToolbar()
AdminController::initToolbar() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 155
void AdminControllerCore::initToolbarTitle()
set default toolbar_title to admin breadcrumb
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 473
mixed ControllerCore::isCached($template, $cacheId, $compileId)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 436
- $template mixed
- $cacheId mixed
- $compileId mixed
mixed AdminControllerCore::isFresh($file, $timeout)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3476
- $file mixed
- $timeout mixed
boolean ControllerCore::isXmlHttpRequest()
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 390
mixed AdminControllerCore::jsonConfirmation($message)
Shortcut to set up a json success payload
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3455
- $message mixed - success message
mixed AdminControllerCore::jsonError($message)
Shortcut to set up a json error payload
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3468
- $message mixed - error message
string AdminControllerCore::l(mixed $string, string $class, \boolan $addslashes, boolean $htmlentities)
non-static method which uses AdminController::translate()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2254
- $string mixed - term or expression in english
- $class string - name of the class
- $addslashes boolan - if set to true, the return value will pass through addslashes(). Otherwise, stripslashes().
- $htmlentities boolean - if set to true(default), the return value will pass through htmlentities($string, ENT_QUOTES, 'utf-8')
mixed AdminTranslationsControllerCore::listFiles($dir, $list, $file_ext)
recursively list files in directory $dir
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2952
- $dir mixed
- $list mixed
- $file_ext mixed
object|boolean AdminControllerCore::loadObject(boolean $opt)
Load class object using identifier in $_GET (if possible) otherwise return an empty object, or die
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1343
- $opt boolean - Return an empty object if load fail
mixed ControllerCore::myErrorHandler($errno, $errstr, $errfile, $errline)
- Visibility: public
- This method is static.
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 444
- $errno mixed
- $errstr mixed
- $errfile mixed
- $errline mixed
array AdminTranslationsControllerCore::parsePdfClass(string $file_path, string $file_type, $lang_array, string $tab, array $tabs_array, $count_missing)
Parse PDF class
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2835
- $file_path string - file to parse
- $file_type string - type of file
- $lang_array mixed
- $tab string - name to use with the md5 key
- $tabs_array array
- $count_missing mixed
boolean AdminControllerCore::postImage(integer $id)
Overload this method for custom checking
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3200
- $id integer - Object id used for deleting images
mixed AdminTranslationsControllerCore::postProcess()
AdminController::postProcess() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1396
mixed AdminControllerCore::processAdd()
Object creation
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 862
mixed AdminControllerCore::processBulkAffectZone()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3386
boolean AdminControllerCore::processBulkDelete()
Delete multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3258
boolean AdminControllerCore::processBulkDisableSelection()
Disable multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3361
boolean AdminControllerCore::processBulkEnableSelection()
Enable multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3351
boolean AdminControllerCore::processBulkStatusSelection($status)
Toggle status of multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3371
- $status mixed
mixed AdminControllerCore::processDelete()
Object Delete
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 799
mixed AdminControllerCore::processDeleteImage()
Object Delete images
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 728
mixed AdminControllerCore::processExport($text_delimiter)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 745
- $text_delimiter mixed
mixed AdminControllerCore::processFilter()
Set the filters used for the list display
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 563
mixed AdminControllerCore::processPosition()
Change object position
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1052
mixed AdminControllerCore::processResetFilters($list_id)
Cancel all filters for this tab
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1073
- $list_id mixed
mixed AdminControllerCore::processSave()
Call the right method for creating or updating object
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 848
mixed AdminControllerCore::processStatus()
Change object status (active, inactive)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1022
mixed AdminControllerCore::processUpdate()
Object update
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 913
mixed AdminControllerCore::processUpdateFields()
Change object required fields
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1005
mixed AdminControllerCore::processUpdateOptions()
Update options and preferences
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1105
mixed AdminTranslationsControllerCore::recursiveGetModuleFiles(string $path, array $array_files, string $module_name, string $lang_file, boolean $is_default)
This get files to translate in module directory.
Recursive method allow to get each files for a module no matter his depth.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2713
- $path string - directory path to scan
- $array_files array - by reference - array which saved files to parse.
- $module_name string - module name
- $lang_file string - full path of translation file
- $is_default boolean
mixed AdminTranslationsControllerCore::redirect(boolean $save_and_stay, boolean $conf)
This method redirect in the translation main page or in the translation page
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1501
- $save_and_stay boolean - : true if the user has clicked on the button "save and stay"
- $conf boolean - : id of confirmation message
mixed AdminControllerCore::refresh($file_to_refresh, $external_file)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3484
- $file_to_refresh mixed
- $external_file mixed
mixed ControllerCore::removeCSS($css_uri, $css_media_type)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 273
- $css_uri mixed
- $css_media_type mixed
mixed ControllerCore::removeJS($js_uri)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 313
- $js_uri mixed
mixed AdminControllerCore::renderDetails()
Override to render the view page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2059
mixed AdminControllerCore::renderForm()
Function used to render the form for this controller
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2067
mixed AdminTranslationsControllerCore::renderKpis()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1345
mixed AdminControllerCore::renderList()
Function used to render the list to display for this controller
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1988
mixed AdminControllerCore::renderModal()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1940
mixed AdminControllerCore::renderModulesList()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1954
mixed AdminControllerCore::renderOptions()
Function used to render the options for this controller
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2127
mixed AdminControllerCore::renderView()
Override to render the view page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2044
mixed ControllerCore::run()
Start controller process (this method shouldn't be overriden !)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 161
mixed AdminControllerCore::setDeprecatedMedia()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2210
void AdminControllerCore::setHelperDisplay(\Helper $helper)
this function set various display option for helper list
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2159
- $helper Helper
mixed AdminControllerCore::setMedia()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2212
mixed ControllerCore::setTemplate($template)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 217
- $template mixed
mixed AdminTranslationsControllerCore::setTypeSelected($type_selected)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 84
- $type_selected mixed
mixed ControllerCore::smartyOutputContent($content)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 395
- $content mixed
mixed AdminTranslationsControllerCore::submitAddLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 811
mixed AdminTranslationsControllerCore::submitCopyLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 337
mixed AdminTranslationsControllerCore::submitExportLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 436
mixed AdminTranslationsControllerCore::submitImportLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 673
mixed AdminTranslationsControllerCore::submitTranslationsMails()
This method is used to write translation for mails.
This writes subject translation files (in root/mails/lang_choosen/lang.php or root/PS_THEMES_DIR/mails/lang_choosen/lang.php) and mails files.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1532
mixed AdminTranslationsControllerCore::theme_exists($theme)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2971
- $theme mixed
mixed AdminControllerCore::updateAssoShop(integer $id_object)
Update the associations of shops
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3143
- $id_object integer
mixed AdminControllerCore::uploadImage($id, $name, $dir, $ext, $width, $height)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3211
- $id mixed
- $name mixed
- $dir mixed
- $ext mixed
- $width mixed
- $height mixed
\return AdminTranslationsControllerCore::userParseFile($content, $type_translation, string|boolean $type_file, string $module_name)
This method parse a file by type of translation and type file
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1157
- $content mixed
- $type_translation mixed - : front, back, errors, modules...
- $type_file string|boolean - : (tpl|php)
- $module_name string - : name of the module
mixed AdminControllerCore::validateField($value, $field)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3169
- $value mixed
- $field mixed
mixed AdminControllerCore::validateRules($class_name)
Manage page display (form, list.
..)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2951
- $class_name mixed
boolean AdminControllerCore::viewAccess(boolean $disable)
Check rights to view the current tab
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 541
- $disable boolean
mixed AdminControllerCore::viewDetails()
Display object details
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 3030
mixed AdminTranslationsControllerCore::writeSubjectTranslationFile($sub, $path)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2678
- $sub mixed
- $path mixed
mixed AdminTranslationsControllerCore::writeTranslationFile(boolean $override_file)
Read the Post var and write the translation file.
This method overwrites the old translation file.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 270
- $override_file boolean - : set true if this file is a override