- Class name: AdminTranslationsControllerCore
- Parent class: AdminController
- Source: controllers/admin/AdminTranslationsController.php line 29
- $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
- $translations_type_for_theme
- $type_selected
- $_defaultOrderBy
- $_defaultOrderWay
- $_filter
- $_group
- $_having
- $_includeContainer
- $_join
- $_languages
- $_list
- $_listTotal
- $_listsql
- $_orderBy
- $_orderWay
- $_pagination
- $_redirect
- $_select
- $_tmpTableFilter
- $_where
- $action
- $actions
- $actions_available
- $allow_employee_form_lang
- $allow_export
- $base_tpl_form
- $base_tpl_view
- $bo_theme
- $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
- $imageType
- $informations
- $is_cms
- $lang
- $layout
- $list_no_link
- $list_simple_header
- $list_skip_actions
- $lite_display
- $meta_title
- $modules_list
- $multiple_fieldsets
- $multishop_context
- $multishop_context_group
- $noLink
- $object
- $path
- $position_identifier
- $required_database
- $required_fields
- $row_hover
- $shopLink
- $shopLinkType
- $shopShareDatas
- $show_toolbar
- $show_toolbar_options
- $specificConfirmDelete
- $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
- $redirect_after
- $status
- __construct
- _childValidation
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- addNewTabs
- addRowAction
- addRowActionSkipList
- addToolBarModulesListButton
- afterAdd
- afterDelete
- afterImageUpload
- afterUpdate
- ajaxProcessHelpAccess
- beforeAdd
- beforeDelete
- beforeUpdateOptions
- changeModulesKeyTranslation
- checkAccess
- checkAndAddMailsFiles
- checkAndAddThemesFiles
- checkDirAndCreate
- checkIfKeyUseSprintf
- checkToken
- checkTranslationFile
- clearModuleFiles
- copyFromPost
- createTemplate
- display
- displayAjax
- displayFooter
- displayHeader
- displayInformation
- displayLimitPostWarning
- displayMailBlockHtml
- displayMailBlockTxt
- displayMailContent
- displayModuleOptions
- displayNoSmarty
- displayRequiredFields
- displaySubmitButtons
- displayToggleButton
- displayWarning
- exportTabs
- fileExists
- fillModuleData
- filterToField
- findAndFillTranslations
- findAndWriteTranslationsIntoFile
- getAllModuleFiles
- getController
- getFieldValue
- getFieldsValue
- getFileToParseByTypeTranslation
- getInformations
- getLanguages
- getList
- getListModules
- getMailContent
- getMailFiles
- getMailPattern
- getModuleTranslations
- getModulesHasMails
- getModulesList
- getSelectedAssoShop
- getSubjectMail
- getSubjectMailContent
- getTinyMCEForMails
- getTranslationsInformations
- init
- initAutoTranslate
- initBreadcrumbs
- initContent
- initCursedPage
- initFooter
- initForm
- initFormBack
- initFormErrors
- initFormFields
- initFormFront
- initFormMails
- initFormModules
- initFormPDF
- initHeader
- initMain
- initProcess
- initShopContext
- initTabModuleList
- initToolbar
- initToolbarTitle
- isFresh
- isXmlHttpRequest
- jsonConfirmation
- jsonError
- l
- listFiles
- loadObject
- parsePdfClass
- postImage
- postProcess
- processAdd
- processBulkAffectZone
- processBulkDelete
- processBulkDisableSelection
- processBulkEnableSelection
- processBulkStatusSelection
- processDelete
- processDeleteImage
- processExport
- processFilter
- processPosition
- processResetFilters
- processSave
- processStatus
- processUpdate
- processUpdateFields
- processUpdateOptions
- recursiveGetModuleFiles
- redirect
- refresh
- renderForm
- renderList
- renderModulesList
- renderOptions
- renderView
- run
- setHelperDisplay
- setMedia
- setTemplate
- setTypeSelected
- smartyOutputContent
- submitAddLang
- submitCopyLang
- submitExportLang
- submitImportLang
- submitTranslationsMails
- updateAssoShop
- uploadImage
- userParseFile
- validateField
- validateRules
- viewAccess
- viewDetails
- writeSubjectTranslationFile
- writeTranslationFile
const DEFAULT_THEME_NAME = 'default'
Name of theme by default
protected array $all_iso_lang = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 44.
protected array $ignore_folder = array('.', '..', '.svn', '.htaccess', 'index.php')
- Visibility: protected
- This property is static.
- Source: controllers/admin/AdminTranslationsController.php line 50.
protected object $lang_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 71.
protected array $languages
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 59.
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 35.
protected integer $missing_translations
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 41.
protected array $modules_translations = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 47.
protected boolean $post_limit_exceed = false
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 74.
protected string $theme_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 65.
protected array $themes
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 62.
protected integer $total_expression
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 38.
protected array $translations_informations = array()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 53.
protected array $translations_type_for_theme = array('front', 'modules', 'pdf', 'mails')
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 56.
protected string $type_selected
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 68.
protected string $_defaultOrderBy = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 71.
protected mixed $_defaultOrderWay = 'ASC'
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 72.
protected array $_filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 143.
protected string $_group
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 214.
protected string $_having
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 217.
protected mixed $_includeContainer = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 238.
protected string $_join
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 208.
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 119.
protected integer $_listTotal
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 137.
protected string $_listsql = ''
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 116.
protected string $_orderBy
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 152.
protected string $_orderWay
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 155.
protected array $_pagination = array(20, 50, 100, 300)
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 149.
protected boolean $_redirect = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 246.
protected string $_select
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 205.
protected array $_tmpTableFilter = ''
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 146.
protected string $_where
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 211.
protected mixed $action
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 236.
protected array $actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 161.
protected array $actions_available = array('view', 'edit', 'delete', 'duplicate')
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 158.
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 171.
public mixed $base_tpl_form = null
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 82.
public mixed $base_tpl_view = null
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 81.
protected mixed $bo_theme
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 243.
protected array $boxes
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 199.
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 271.
protected array $bulk_actions
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 194.
public array $cache_lang = array()
- Visibility: public
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 174.
public string $className
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 54.
protected mixed $colorOnBackground
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 232.
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 263.
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 225.
protected mixed $display
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 237.
public array $errors = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 90.
protected string $explicitSelect = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 202.
public array $fieldImageSettings = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 249.
protected array $fields_form
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 105.
protected \override $fields_form_override
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 108.
protected array $fields_list
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 96.
protected array $fields_options
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 111.
public mixed $fields_value = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 87.
protected boolean $filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 229.
protected array $filter_modules_list = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 99.
protected \Helper $helper
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 180.
public integer $id = -1
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 60.
protected \current $id_object
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 258.
protected string $identifier = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 51.
public string $imageType = 'jpg'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 252.
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 219.
public boolean $lang = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 140.
public mixed $layout = 'layout.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 41.
protected boolean $list_no_link = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 169.
protected \define $list_simple_header
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 93.
protected array $list_skip_actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 164.
protected mixed $lite_display = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 167.
protected mixed $meta_title
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 43.
protected array $modules_list = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 102.
public boolean $multiple_fieldsets = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 85.
public mixed $multishop_context = -1
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 265.
public mixed $multishop_context_group = true
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 266.
protected mixed $noLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 230.
protected \instanciation $object
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 255.
public mixed $path
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 29.
protected string $position_identifier
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 222.
public mixed $required_database = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 62.
public array $required_fields = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 177.
protected boolean $row_hover = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 234.
protected mixed $shopLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 113.
public string $shopLinkType
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 68.
public mixed $shopShareDatas = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 35.
protected boolean $show_toolbar = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 131.
protected boolean $show_toolbar_options = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 134.
protected mixed $specificConfirmDelete = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 231.
public array $tabAccess
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 57.
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 239.
public string $table
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 48.
public mixed $template = 'content.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 45.
public string $token
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 65.
protected array $toolbar_btn = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 125.
protected boolean $toolbar_scroll = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 128.
protected \define $toolbar_title
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 122.
public mixed $tpl_delete_link_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 76.
public mixed $tpl_folder
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 241.
public mixed $tpl_form_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 74.
public mixed $tpl_list_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 75.
public mixed $tpl_option_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 77.
public mixed $tpl_required_fields_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 79.
public mixed $tpl_view_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 78.
protected mixed $translationsTab = array()
Display modules list
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2905.
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 70.
protected string $content_only = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 65.
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 76.
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 60.
protected boolean $display_header
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 50.
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 71.
protected mixed $redirect_after = null
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 74.
protected mixed $status = ''
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 72.
mixed AdminTranslationsControllerCore::__construct()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 76
mixed AdminControllerCore::_childValidation()
Overload this method for custom checking
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2441
true ControllerCore::addCSS(mixed $css_uri, string $css_media_type)
Add a new stylesheet in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 236
- $css_uri mixed - Path to css file, or list of css files like this : array(array(uri => media_type), ...)
- $css_media_type string
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 268
- $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 291
- $version mixed
- $folder mixed
- $minifier mixed
void ControllerCore::addJqueryPlugin($name, $folder)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 322
- $name mixed
- $folder mixed
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 302
- $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 574
- $iso_code array
- $files array
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 1388
- $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 1397
- $action mixed
- $list mixed
mixed AdminControllerCore::addToolBarModulesListButton()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1478
mixed AdminControllerCore::afterAdd($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2474
- $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 2469
- $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 2490
mixed AdminControllerCore::afterUpdate($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2479
- $object mixed
mixed AdminControllerCore::ajaxProcessHelpAccess()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 409
boolean AdminControllerCore::beforeAdd(object $object)
Called before Add
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2781
- $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 2458
- $object object - Object
mixed AdminControllerCore::beforeUpdateOptions()
Can be overriden
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2604
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 379
- $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 1111
mixed AdminTranslationsControllerCore::checkAndAddMailsFiles($iso_code, $files_list)
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 455
- $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 536
- $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 244
- $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 1592
- $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 403
mixed AdminTranslationsControllerCore::checkTranslationFile($content)
- Visibility: public
- This method is static.
- Source: controllers/admin/AdminTranslationsController.php line 607
- $content 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 860
- $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 2501
- $object mixed
- $table string - Object table
\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 2806
- $tpl_name string - filename
mixed AdminControllerCore::display()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1162
mixed AdminControllerCore::displayAjax()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1144
mixed ControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 199
- $display mixed
mixed ControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 194
- $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 1233
- $msg string
mixed AdminTranslationsControllerCore::displayLimitPostWarning($count)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1567
- $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 2258
- $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 2237
- $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 2151
- $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 AdminControllerCore::displayModuleOptions($module, $output_type, $back)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2906
- $module mixed
- $output_type mixed
- $back mixed
mixed AdminControllerCore::displayNoSmarty()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1140
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 2789
mixed AdminTranslationsControllerCore::displaySubmitButtons($name)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1542
- $name mixed
mixed AdminTranslationsControllerCore::displayToggleButton($closed)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1525
- $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 1223
- $msg string
mixed AdminTranslationsControllerCore::exportTabs()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 394
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 1506
mixed AdminControllerCore::fillModuleData($module, $output_type, $back)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2867
- $module mixed
- $output_type mixed
- $back mixed
mixed AdminControllerCore::filterToField($key, $filter)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1130
- $key mixed
- $filter 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 893
- $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 781
- $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 2542
- $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 126
- $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 2320
- $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 2270
- $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 957
mixed AdminTranslationsControllerCore::getInformations()
Get all informations on : languages, theme and the translation type.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1185
mixed AdminControllerCore::getLanguages()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2240
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 2032
- $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 1877
array AdminTranslationsControllerCore::getMailContent(string $dir, string $file)
Get content of the mail file.
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2130
- $dir string
- $file string
array AdminTranslationsControllerCore::getMailFiles(string $dir, string $group_name)
Get each informations for each mails founded in the folder $dir.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2067
- $dir string
- $group_name string
mixed AdminTranslationsControllerCore::getMailPattern()
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1381
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 219
array AdminTranslationsControllerCore::getModulesHasMails($with_module_name)
Check in each module if contains mails folder.
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2309
- $with_module_name mixed
mixed AdminControllerCore::getModulesList($filter_modules_list)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2204
- $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 2534
- $table string
array AdminTranslationsControllerCore::getSubjectMail($dir, $file, $subject_mail)
Get list of subjects of mails
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2426
- $dir mixed
- $file mixed
- $subject_mail mixed
array AdminTranslationsControllerCore::getSubjectMailContent($directory)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2454
- $directory mixed - : name of directory
mixed AdminTranslationsControllerCore::getTinyMCEForMails($iso_lang)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2333
- $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 1122
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 1741
array AdminTranslationsControllerCore::initAutoTranslate()
Init js variables for translation with google
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1554
mixed AdminControllerCore::initBreadcrumbs()
Set breadcrumbs array for the controller page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 349
mixed AdminTranslationsControllerCore::initContent()
AdminController::initContent() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 101
void AdminControllerCore::initCursedPage()
initialize the invalid doom page of death
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1492
mixed AdminControllerCore::initFooter()
Assign smarty variables for the footer
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1500
\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 126
- $method_name mixed
mixed AdminTranslationsControllerCore::initFormBack()
This method generate the form for back translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1687
mixed AdminTranslationsControllerCore::initFormErrors()
This method generate the form for errors translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1910
mixed AdminTranslationsControllerCore::initFormFields()
This method generate the form for fields translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1969
mixed AdminTranslationsControllerCore::initFormFront()
This method generate the form for front translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1602
mixed AdminTranslationsControllerCore::initFormMails($no_display)
This method generate the form for mails translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2359
- $no_display mixed
mixed AdminTranslationsControllerCore::initFormModules()
This method generate the form for modules translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2565
mixed AdminTranslationsControllerCore::initFormPDF()
This method generate the form for PDF translations
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 2638
mixed AdminControllerCore::initHeader()
Assign smarty variables for the header
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1241
mixed AdminTranslationsControllerCore::initMain()
Generate the Main page
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 177
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 1872
mixed AdminControllerCore::initShopContext()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1801
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 1457
mixed AdminTranslationsControllerCore::initToolbar()
AdminController::initToolbar() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 157
void AdminControllerCore::initToolbarTitle()
set default toolbar_title to admin breadcrumb
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 363
mixed AdminControllerCore::isFresh($file, $timeout)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2847
- $file mixed
- $timeout mixed
boolean ControllerCore::isXmlHttpRequest()
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 349
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 2826
- $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 2839
- $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 1727
- $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 2724
- $dir mixed
- $list mixed
- $file_ext mixed
object 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 1080
- $opt boolean - Return an empty object if load fail
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 2609
- $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 2614
- $id integer - Object id used for deleting images
mixed AdminTranslationsControllerCore::postProcess()
AdminController::postProcess() override
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 1241
mixed AdminControllerCore::processAdd()
Object creation
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 668
mixed AdminControllerCore::processBulkAffectZone()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2757
boolean AdminControllerCore::processBulkDelete()
Delete multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2672
boolean AdminControllerCore::processBulkDisableSelection()
Disable multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2732
boolean AdminControllerCore::processBulkEnableSelection()
Enable multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2722
boolean AdminControllerCore::processBulkStatusSelection($status)
Toggle status of multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2742
- $status mixed
mixed AdminControllerCore::processDelete()
Object Delete
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 607
mixed AdminControllerCore::processDeleteImage()
Object Delete images
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 551
mixed AdminControllerCore::processExport()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 568
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 430
mixed AdminControllerCore::processPosition()
Change object position
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 848
mixed AdminControllerCore::processResetFilters()
Cancel all filters for this tab
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 869
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 654
mixed AdminControllerCore::processStatus()
Change object status (active, inactive)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 825
mixed AdminControllerCore::processUpdate()
Object update
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 716
mixed AdminControllerCore::processUpdateFields()
Change object required fields
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 808
mixed AdminControllerCore::processUpdateOptions()
Update options and preferences
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 903
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 2509
- $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 1371
- $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 2859
- $file_to_refresh mixed
- $external_file mixed
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 1576
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 1527
mixed AdminControllerCore::renderModulesList()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1513
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 1613
mixed AdminControllerCore::renderView()
Override to render the view page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1561
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 148
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 1640
- $helper Helper
mixed AdminControllerCore::setMedia()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 1687
mixed ControllerCore::setTemplate($template)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 204
- $template mixed
mixed AdminTranslationsControllerCore::setTypeSelected($type_selected)
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 92
- $type_selected mixed
mixed ControllerCore::smartyOutputContent($content)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 354
- $content mixed
mixed AdminTranslationsControllerCore::submitAddLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 719
mixed AdminTranslationsControllerCore::submitCopyLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 330
mixed AdminTranslationsControllerCore::submitExportLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 427
mixed AdminTranslationsControllerCore::submitImportLang()
- Visibility: public
- Source: controllers/admin/AdminTranslationsController.php line 646
mixed AdminTranslationsControllerCore::submitTranslationsMails()
This method is used to wright translation for mails.
This wrights 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 1402
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 2557
- $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 2625
- $id mixed
- $name mixed
- $dir mixed
- $ext mixed
- $width mixed
- $height mixed
\return AdminTranslationsControllerCore::userParseFile($content, $type_translation, string|boolean $type_file)
This method parse a file by type of translation and type file
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 1064
- $content mixed
- $type_translation mixed - : front, back, errors, modules...
- $type_file string|boolean - : (tpl|php)
mixed AdminControllerCore::validateField($value, $field)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2583
- $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 2335
- $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 390
- $disable boolean
mixed AdminControllerCore::viewDetails()
Display object details
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/controller/AdminController.php line 2448
mixed AdminTranslationsControllerCore::writeSubjectTranslationFile($sub, $path)
- Visibility: protected
- Source: controllers/admin/AdminTranslationsController.php line 2477
- $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 269
- $override_file boolean - : set true if this file is a override