- Class name: AdminWarehousesControllerCore
- Parent class: AdminController
- Source: controllers/admin/AdminWarehousesController.php line 31
- $_defaultOrderBy
- $_errors
- $_filter
- $_group
- $_having
- $_includeContainer
- $_join
- $_languages
- $_list
- $_listTotal
- $_orderBy
- $_orderWay
- $_pagination
- $_redirect
- $_select
- $_tmpTableFilter
- $_where
- $action
- $actions
- $actions_available
- $allow_employee_form_lang
- $base_tpl_view
- $boxes
- $bulk_actions
- $cache_lang
- $className
- $colorOnBackground
- $confirmations
- $content
- $currentIndex
- $default_form_language
- $deleted
- $display
- $fieldImageSettings
- $fieldsDisplay
- $fields_form
- $fields_value
- $filter
- $id
- $identifier
- $identifiersDnd
- $imageType
- $informations
- $is_cms
- $is_dnd_identifier
- $lang
- $layout
- $list_no_link
- $list_simple_header
- $list_skip_actions
- $meta_title
- $multiple_fieldsets
- $noLink
- $noTabLink
- $object
- $options
- $path
- $shopLink
- $shopLinkType
- $shopShareDatas
- $show_toolbar
- $show_toolbar_options
- $specificConfirmDelete
- $tabAccess
- $table
- $template
- $token
- $toolbar_btn
- $toolbar_fix
- $toolbar_title
- $tpl_delete_link_vars
- $tpl_folder
- $tpl_form_vars
- $tpl_list_vars
- $tpl_option_vars
- $tpl_view_vars
- $warnings
- $ajax
- $content_only
- $context
- $css_files
- $display_footer
- $display_header
- $js_files
- $json
- $redirect_after
- $status
- __construct
- _childValidation
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- addRowAction
- addRowActionSkipList
- afterAdd
- afterDelete
- afterImageUpload
- afterUpdate
- ajaxProcessHelpAccess
- beforeDelete
- beforeUpdateOptions
- checkAccess
- checkToken
- copyFromPost
- display
- displayAjax
- displayAssoShop
- displayErrors
- displayFooter
- displayHeader
- displayInformation
- displayNoSmarty
- displayWarning
- filterToField
- getAssoShop
- getController
- getFieldValue
- getFieldsValue
- getList
- getTranslationsFlags
- getlanguages
- includeSubTab
- init
- initContent
- initCursedPage
- initFooter
- initForm
- initHeader
- initList
- initOptions
- initToolbar
- initToolbarTitle
- initView
- l
- loadObject
- postImage
- postProcess
- processBulkDelete
- processDelete
- processDeleteImage
- processPosition
- processResetFilters
- processSave
- processStatus
- processUpdateFields
- processUpdateOptions
- redirect
- run
- setHelperDisplay
- setMedia
- setTemplate
- translate
- updateAssoShop
- uploadImage
- validateField
- validateRules
- viewAccess
- viewDetails
protected string $_defaultOrderBy = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 74.
public array $_errors = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 90.
protected array $_filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 131.
protected string $_group
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 189.
protected string $_having
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 192.
protected mixed $_includeContainer = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 218.
protected string $_join
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 183.
public mixed $_languages = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 39.
protected array $_list = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 107.
protected integer $_listTotal
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 125.
protected string $_orderBy
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 140.
protected string $_orderWay
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 143.
protected array $_pagination = array(20, 50, 100, 300)
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 137.
protected boolean $_redirect = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 223.
protected string $_select
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 180.
protected array $_tmpTableFilter = ''
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 134.
protected string $_where
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 186.
protected mixed $action
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 216.
protected array $actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 149.
protected array $actions_available = array('view', 'edit', 'delete', 'duplicate')
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 146.
public mixed $allow_employee_form_lang
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 41.
public mixed $base_tpl_view = null
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 82.
protected array $boxes
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 177.
protected array $bulk_actions
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 172.
public array $cache_lang = array()
- Visibility: public
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 158.
public string $className
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 56.
protected mixed $colorOnBackground
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 214.
public mixed $confirmations = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 36.
public mixed $content
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 33.
public mixed $currentIndex
- Visibility: public
- This property is static.
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 32.
public mixed $default_form_language
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 40.
protected boolean $deleted = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 207.
protected mixed $display
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 217.
public array $fieldImageSettings = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 226.
protected array $fieldsDisplay
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 96.
protected array $fields_form
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 99.
public mixed $fields_value = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 87.
protected boolean $filter
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 211.
public integer $id = -1
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 62.
protected string $identifier = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 53.
protected mixed $identifiersDnd = array('id_product' => 'id_product', 'id_category' => 'id_category_to_move', 'id_cms_category' => 'id_cms_category_to_move', 'id_cms' => 'id_cms', 'id_attribute' => 'id_attribute')
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 198.
public string $imageType = 'jpg'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 229.
public mixed $informations = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 35.
protected mixed $is_cms = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 194.
protected mixed $is_dnd_identifier = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 196.
public boolean $lang = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 128.
public mixed $layout = 'layout.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 43.
protected boolean $list_no_link = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 155.
protected \define $list_simple_header
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 93.
protected array $list_skip_actions = array()
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 152.
public mixed $meta_title = 'Administration panel'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 45.
public boolean $multiple_fieldsets = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 85.
protected mixed $noLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 212.
public array $noTabLink = array('AdminCatalog', 'AdminTools', 'AdminStock', 'AdminAccounting')
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 65.
protected \instanciation $object
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 232.
protected array $options
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 102.
public mixed $path
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 30.
protected mixed $shopLink
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 104.
public string $shopLinkType
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 71.
public mixed $shopShareDatas = false
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 37.
protected boolean $show_toolbar = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 119.
protected boolean $show_toolbar_options = false
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 122.
protected mixed $specificConfirmDelete
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 213.
public array $tabAccess
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 59.
public string $table
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 50.
public mixed $template = 'content.tpl'
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 47.
public string $token
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 68.
protected array $toolbar_btn = null
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 113.
protected array $toolbar_fix = true
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 116.
protected \define $toolbar_title
- Visibility: protected
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 110.
public mixed $tpl_delete_link_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 78.
public mixed $tpl_folder
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 220.
public mixed $tpl_form_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 76.
public mixed $tpl_list_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 77.
public mixed $tpl_option_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 79.
public mixed $tpl_view_vars = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 80.
public mixed $warnings = array()
- Visibility: public
- This property is defined by AdminControllerCore.
- Source: classes/AdminController.php line 34.
protected boolean $ajax = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 71.
protected string $content_only = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 66.
protected \Context $context
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 36.
public array $css_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 41.
protected string $display_footer
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 61.
protected boolean $display_header
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 51.
public array $js_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 46.
protected mixed $json = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 72.
protected mixed $redirect_after = null
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 75.
protected mixed $status = ''
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/Controller.php line 73.
mixed AdminWarehousesControllerCore::__construct()
- Visibility: public
- Source: controllers/admin/AdminWarehousesController.php line 33
mixed AdminControllerCore::_childValidation()
Overload this method for custom checking
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2146
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.php line 219
- $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.php line 251
- $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.php line 274
- $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.php line 304
- $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.php line 285
- $component mixed
- $theme mixed
- $check_dependencies mixed
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/AdminController.php line 1280
- $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/AdminController.php line 1289
- $action mixed
- $list mixed
mixed AdminControllerCore::afterAdd($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2175
- $object mixed
boolean AdminControllerCore::afterDelete(object $object, $oldId)
Called before deletion
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2170
- $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/AdminController.php line 2191
mixed AdminControllerCore::afterUpdate($object)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2180
- $object mixed
mixed AdminControllerCore::ajaxProcessHelpAccess()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 348
boolean AdminControllerCore::beforeDelete(object $object)
Called before deletion
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2159
- $object object - Object
mixed AdminControllerCore::beforeUpdateOptions()
Can be overriden
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2314
mixed AdminControllerCore::checkAccess()
Check if the token is valid, else display a warning page
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 974
mixed AdminControllerCore::checkToken()
Check for security token
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 342
mixed AdminControllerCore::copyFromPost($object, string $table)
Copy datas from $_POST to object
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2202
- $object mixed
- $table string - Object table
mixed AdminControllerCore::display()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1032
mixed AdminControllerCore::displayAjax()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1014
void AdminControllerCore::displayAssoShop(string $type)
displayAssoShop
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2325
- $type string
mixed AdminControllerCore::displayErrors()
Display errors
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1830
mixed ControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/Controller.php line 182
- $display mixed
mixed ControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/Controller.php line 177
- $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/AdminController.php line 1114
- $msg string
mixed AdminControllerCore::displayNoSmarty()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1010
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/AdminController.php line 1104
- $msg string
mixed AdminControllerCore::filterToField($key, $filter)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1000
- $key mixed
- $filter mixed
mixed AdminControllerCore::getAssoShop(string $table, integer $id_object)
Returns an array with selected shops and type (group or boutique shop)
- Visibility: protected
- This method is static.
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2235
- $table string
- $id_object integer
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.php line 113
- $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/AdminController.php line 2045
- $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/AdminController.php line 2006
- $obj object - Object
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/AdminController.php line 1846
- $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
string AdminControllerCore::getTranslationsFlags(array $languages, integer $default_language, string $ids, string $id, $return, boolean $use_vars_instead_of_ids)
Display flags in forms for translations
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2544
- $languages array - All languages available
- $default_language integer - Default language id
- $ids string - Multilingual div ids in form
- $id string - Current div id]
- $return mixed
- $use_vars_instead_of_ids boolean - use an js vars instead of ids seperate by "¤"
mixed AdminControllerCore::getlanguages()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1976
mixed AdminControllerCore::includeSubTab($methodname, $actions)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 996
- $methodname mixed
- $actions mixed
mixed AdminControllerCore::init()
Init context and dependencies, handles POST and GET
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1611
mixed AdminControllerCore::initContent()
Assign smarty variables for all default views, list and form, then call other init functions
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1303
void AdminControllerCore::initCursedPage()
initialize the invalid doom page of death
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1338
mixed AdminControllerCore::initFooter()
Assign smarty variables for the footer
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1346
mixed AdminWarehousesControllerCore::initForm()
AdminController::initForm() override
- Visibility: public
- Source: controllers/admin/AdminWarehousesController.php line 127
mixed AdminControllerCore::initHeader()
Assign smarty variables for the header
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1122
mixed AdminWarehousesControllerCore::initList()
AdminController::initList() override
- Visibility: public
- Source: controllers/admin/AdminWarehousesController.php line 82
mixed AdminControllerCore::initOptions()
Function used to initialise the options to display for this controller
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1444
mixed AdminControllerCore::initToolbar()
assign default action in toolbar_btn smarty var, if they are not set.
uses override to specifically add, modify or remove items
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 895
void AdminControllerCore::initToolbarTitle()
set default toolbar_title to admin breadcrumb
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 290
mixed AdminWarehousesControllerCore::initView()
- Visibility: public
- Source: controllers/admin/AdminWarehousesController.php line 449
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/AdminController.php line 1597
- $string mixed - term or expression in english
- $class string - name of the class, without "Controller" suffix
- $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')
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/AdminController.php line 943
- $opt boolean - Return an empty object if load fail
boolean AdminControllerCore::postImage(integer $id)
Overload this method for custom checking
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2437
- $id integer - Object id used for deleting images
mixed AdminWarehousesControllerCore::postProcess()
AdminController::postProcess() override
- Visibility: public
- Source: controllers/admin/AdminWarehousesController.php line 371
boolean AdminControllerCore::processBulkDelete($token)
Delete multiple items
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2489
- $token mixed
mixed AdminControllerCore::processDelete(string $token)
Object Delete
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 495
- $token string
mixed AdminControllerCore::processDeleteImage(string $token)
Object Delete images
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 473
- $token string
mixed AdminControllerCore::processPosition(string $token)
Change object position
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 716
- $token string
mixed AdminControllerCore::processResetFilters()
Cancel all filters for this tab
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 739
mixed AdminControllerCore::processSave(string $token)
Object update and creation TODO: split processAdd and processUpdate
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 541
- $token string
mixed AdminControllerCore::processStatus(string $token)
Change object statuts (active, inactive)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 691
- $token string
mixed AdminControllerCore::processUpdateFields(string $token)
Change object required fields
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 672
- $token string
mixed AdminControllerCore::processUpdateOptions(string $token)
Update options and preferences
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 773
- $token string
mixed AdminControllerCore::redirect()
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1027
mixed ControllerCore::run()
Start controller process (this method shouldn't be overriden !)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/Controller.php line 134
void AdminControllerCore::setHelperDisplay(\Helper $helper)
this function set various display option for helper list
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1468
- $helper Helper
mixed AdminControllerCore::setMedia()
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1511
mixed ControllerCore::setTemplate($template)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/Controller.php line 187
- $template mixed
string AdminControllerCore::translate(mixed $string, string $class, \boolan $addslashes, boolean $htmlentities)
use translations files to replace english expression.
- Visibility: public
- This method is static.
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 1540
- $string mixed - term or expression in english
- $class string - the classname (without "Controller" suffix)
- $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 AdminControllerCore::updateAssoShop(integer $id_object, integer $new_id_object)
Update the associations of shops
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2263
- $id_object integer
- $new_id_object integer
mixed AdminControllerCore::uploadImage($id, $name, $dir, $ext, $width, $height)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2448
- $id mixed
- $name mixed
- $dir mixed
- $ext mixed
- $width mixed
- $height mixed
mixed AdminControllerCore::validateField($value, $field)
- Visibility: protected
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2293
- $value mixed
- $field mixed
mixed AdminControllerCore::validateRules($class_name)
Manage page display (form, list.
..)
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2060
- $class_name mixed
boolean AdminControllerCore::viewAccess($disable)
Check rights to view the current tab
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 327
- $disable mixed
mixed AdminControllerCore::viewDetails()
Display object details
- Visibility: public
- This method is defined by AdminControllerCore.
- Source: classes/AdminController.php line 2151