- Class name: AdminTabCore
- This is an abstract class
- Warning: this class is deprecated. This means that this class will likely be removed in a future version.
- Source: classes/AdminTab.php line 30
- $_conf
- $_defaultFormLanguage
- $_defaultOrderBy
- $_errors
- $_fieldsOptions
- $_filter
- $_group
- $_having
- $_includeContainer
- $_includeObj
- $_includeVars
- $_join
- $_languages
- $_list
- $_listTotal
- $_object
- $_orderBy
- $_orderWay
- $_pagination
- $_redirect
- $_select
- $_tmpTableFilter
- $_where
- $ajax
- $className
- $colorOnBackground
- $context
- $currentIndex
- $delete
- $deleted
- $duplicate
- $edit
- $fieldImageSettings
- $fieldsDisplay
- $formOptions
- $id
- $identifier
- $identifiersDnd
- $ignore_sleep
- $imageType
- $lang
- $maxImageSize
- $noLink
- $optionTitle
- $optionsList
- $requiredDatabase
- $shopLinkType
- $shopShareDatas
- $smarty
- $specificConfirmDelete
- $tabAccess
- $tabParenting
- $table
- $token
- $view
- __construct
- _childValidation
- _displayDeleteLink
- _displayDuplicate
- _displayEditLink
- _displayEnableLink
- _displayViewLink
- afterAdd
- afterDelete
- afterImageUpload
- afterUpdate
- ajaxPreProcess
- ajaxProcess
- beforeDelete
- beforeUpdateOptions
- checkToken
- copyFromPost
- deleteImage
- display
- displayAddButton
- displayAjax
- displayAssoShop
- displayBottomOptionCategory
- displayConf
- displayErrors
- displayFlags
- displayForm
- displayImage
- displayList
- displayListContent
- displayListFooter
- displayListHeader
- displayOptionTypeBool
- displayOptionTypeDisabled
- displayOptionTypeFile
- displayOptionTypeImage
- displayOptionTypePassword
- displayOptionTypePrice
- displayOptionTypeRadio
- displayOptionTypeSelect
- displayOptionTypeSelectLang
- displayOptionTypeText
- displayOptionTypeTextLang
- displayOptionTypeTextarea
- displayOptionTypeTextareaLang
- displayOptionsList
- displayRequiredFields
- displayTop
- displayTopOptionCategory
- displayWarning
- filterToField
- getAssoShop
- getCurrentUrl
- getFieldValue
- getList
- includeSubTab
- l
- loadObject
- postImage
- postProcess
- updateAssoShop
- updateOptions
- uploadImage
- validateField
- validateRules
- viewAccess
- viewDetails
- warnDomainName
protected array $_conf
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 139.
protected mixed $_defaultFormLanguage = NULL
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 177.
protected string $_defaultOrderBy = false
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 125.
public array $_errors = array()
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 136.
public mixed $_fieldsOptions = array()
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 162.
protected array $_filter
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 113.
protected string $_group
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 84.
protected string $_having
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 87.
protected mixed $_includeContainer = true
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 181.
protected mixed $_includeObj = array()
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 179.
protected mixed $_includeVars = false
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 180.
protected string $_join
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 78.
protected mixed $_languages = NULL
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 176.
protected array $_list = array()
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 107.
protected integer $_listTotal
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 110.
protected object $_object = false
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 142.
protected string $_orderBy
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 122.
protected string $_orderWay
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 128.
protected array $_pagination = array(20, 50, 100, 300)
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 119.
protected boolean $_redirect = true
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 157.
protected string $_select
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 75.
protected array $_tmpTableFilter = ''
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 116.
protected string $_where
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 81.
public mixed $ajax = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 183.
public string $className
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 42.
public boolean $colorOnBackground = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 72.
public \Context $context
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 174.
public mixed $currentIndex
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- This property is static.
- Source: classes/AdminTab.php line 150.
public boolean $delete = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 57.
public boolean $deleted = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 60.
public boolean $duplicate = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 63.
public boolean $edit = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 51.
public array $fieldImageSettings = array()
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 90.
public array $fieldsDisplay = array()
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 96.
protected boolean $formOptions = true
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 160.
public integer $id = -1
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 33.
protected string $identifier = false
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 39.
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', 'id_attribute_group' => 'id_attribute_group', 'id_feature' => 'id_feature', 'id_carrier' => 'id_carrier')
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 154.
public boolean $ignore_sleep = false
if true, ajax-tab will not wait 1 sec
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 189.
public string $imageType = 'jpg'
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 93.
public boolean $lang = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 48.
protected integer $maxImageSize
- Visibility: protected
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 133.
public boolean $noLink = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 66.
public mixed $optionTitle = null
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 98.
public array $optionsList = array()
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 168.
public boolean $requiredDatabase = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 69.
public string $shopLinkType
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 101.
public boolean $shopShareDatas = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 104.
public mixed $smarty
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 152.
public string $specificConfirmDelete = NULL
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 148.
public array $tabAccess
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 145.
public mixed $tabParenting = array('AdminCms' => 'AdminCmsContent', 'AdminCmsCategories' => 'AdminCmsContent', 'AdminOrdersStates' => 'AdminStatuses', 'AdminAttributeGenerator' => 'AdminProducts', 'AdminAttributes' => 'AdminAttributesGroups', 'AdminFeaturesValues' => 'AdminFeatures', 'AdminReturnStates' => 'AdminStatuses', 'AdminStatsTab' => 'AdminStats')
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- This property is static.
- Source: classes/AdminTab.php line 191.
public string $table
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 36.
public string $token
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 45.
public boolean $view = false
- Visibility: public
- Warning: this property is deprecated. This means that this property will likely be removed in a future version.
- Source: classes/AdminTab.php line 54.
mixed AdminTabCore::__construct()
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 202
mixed AdminTabCore::_childValidation()
Overload this method for custom checking
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 508
mixed AdminTabCore::_displayDeleteLink($token, $id)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1767
- $token mixed
- $id mixed
mixed AdminTabCore::_displayDuplicate($token, $id)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1737
- $token mixed
- $id mixed
mixed AdminTabCore::_displayEditLink($token, $id)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1758
- $token mixed
- $id mixed
mixed AdminTabCore::_displayEnableLink($token, $id, $value, $active, $id_category, $id_product)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1729
- $token mixed
- $id mixed
- $value mixed
- $active mixed
- $id_category mixed
- $id_product mixed
mixed AdminTabCore::_displayViewLink($token, $id)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1749
- $token mixed
- $id mixed
mixed AdminTabCore::afterAdd($object)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2225
- $object mixed
boolean AdminTabCore::afterDelete(object $object, $oldId)
Called before deletion
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2223
- $object object - Object
- $oldId mixed
boolean AdminTabCore::afterImageUpload()
Check rights to view the current tab
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2235
mixed AdminTabCore::afterUpdate($object)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2227
- $object mixed
void AdminTabCore::ajaxPreProcess()
ajaxPreProcess is a method called in ajax-tab.php before displayConf().
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 543
void AdminTabCore::ajaxProcess()
ajaxProcess is the default handle method for request with ajax-tab.php
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 552
boolean AdminTabCore::beforeDelete(object $object)
Called before deletion
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2215
- $object object - Object
mixed AdminTabCore::beforeUpdateOptions()
Can be overriden
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1045
mixed AdminTabCore::checkToken()
Check for security token
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2260
mixed AdminTabCore::copyFromPost($object, string $table)
Copy datas from $_POST to object
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1126
- $object mixed
- $table string - Object table
mixed AdminTabCore::deleteImage(integer $id)
Overload this method for custom checking
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 516
- $id integer - Object id used for deleting images
mixed AdminTabCore::display()
Manage page display (form, list.
..)
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 273
mixed AdminTabCore::displayAddButton()
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1724
void AdminTabCore::displayAjax()
ajaxDisplay is the default ajax return sytem
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 267
mixed AdminTabCore::displayAssoShop()
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2317
mixed AdminTabCore::displayBottomOptionCategory($category, $data)
Can be overriden
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1929
- $category mixed
- $data mixed
mixed AdminTabCore::displayConf()
Display confirmations
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1238
mixed AdminTabCore::displayErrors()
Display errors
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1156
mixed AdminTabCore::displayFlags(array $languages, integer $default_language, string $ids, string $id, boolean $return, boolean $use_vars_instead_of_ids)
Display flags in forms for translations
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2276
- $languages array - All languages available
- $default_language integer - Default language id
- $ids string - Multilingual div ids in form
- $id string - Current div id]
- $return boolean - define the return way : false for a display, true for a return
- $use_vars_instead_of_ids boolean - use an js vars instead of ids seperate by "¤"
mixed AdminTabCore::displayForm($firstCall)
Display form
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2166
- $firstCall mixed
mixed AdminTabCore::displayImage(integer $id, string $image, integer $size, integer $id_image, string $token, boolean $disableCache)
Display image aside object form
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1354
- $id integer - Object id
- $image string - Local image filepath
- $size integer - Image width
- $id_image integer - Image id (for products with several images)
- $token string - Employee token used in the image deletion link
- $disableCache boolean - When turned on a timestamp will be added to the image URI to disable the HTTP cache
mixed AdminTabCore::displayList()
Display list
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1565
mixed AdminTabCore::displayListContent($token)
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1591
- $token mixed
mixed AdminTabCore::displayListFooter($token)
Close list table and submit button
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1781
- $token mixed
mixed AdminTabCore::displayListHeader($token)
Display list header (filtering, pagination and column names)
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1371
- $token mixed
mixed AdminTabCore::displayOptionTypeBool($key, $field, $value)
Type = bool
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1947
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeDisabled($key, $field, $value)
Type = disabled
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2106
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeFile($key, $field, $value)
Type = file
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1995
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeImage($key, $field, $value)
Type = image
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2005
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypePassword($key, $field, $value)
Type = password
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1979
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypePrice($key, $field, $value)
Type = price
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2096
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeRadio($key, $field, $value)
Type = radio
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1961
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeSelect($key, $field, $value)
Type = select
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1936
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeSelectLang($key, $field, $value)
Type = selectLang
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2078
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeText($key, $field, $value)
Type = text
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1971
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeTextLang($key, $field, $value)
Type = textLang
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2045
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeTextarea($key, $field, $value)
Type = textarea
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1987
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionTypeTextareaLang($key, $field, $value)
Type = TextareaLang
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2061
- $key mixed
- $field mixed
- $value mixed
mixed AdminTabCore::displayOptionsList()
Options lists
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1799
mixed AdminTabCore::displayRequiredFields()
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 315
mixed AdminTabCore::displayTop()
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1558
mixed AdminTabCore::displayTopOptionCategory($category, $data)
Can be overriden
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1922
- $category mixed
- $data mixed
mixed AdminTabCore::displayWarning(string $warn)
Display a warning message
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1190
- $warn string - Warning message to display
mixed AdminTabCore::filterToField($key, $filter)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2298
- $key mixed
- $filter mixed
mixed AdminTabCore::getAssoShop($table, $id_object)
- Visibility: protected
- This method is static.
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 923
- $table mixed
- $id_object mixed
string AdminTabCore::getCurrentUrl(array $remove)
Get current URL
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2419
- $remove array - List of keys to remove from URL
string AdminTabCore::getFieldValue(object $obj, string $key, integer $id_lang, $id_shop)
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
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2150
- $obj object - Object
- $key string - Field name
- $id_lang integer - Language id (optional)
- $id_shop mixed
mixed AdminTabCore::getList(integer $id_lang, string $orderBy, $orderWay, integer $start, integer $limit, $id_lang_shop)
Get the current objects' list form the database
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1256
- $id_lang integer - Language used for display
- $orderBy string - ORDER BY clause
- $orderWay mixed
- $start integer - Offset in LIMIT clause
- $limit integer - Row count in LIMIT clause
- $id_lang_shop mixed
mixed AdminTabCore::includeSubTab($methodname, $actions)
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 360
- $methodname mixed
- $actions mixed
string AdminTabCore::l(mixed $string, string $class, \boolan $addslashes, boolean $htmlentities)
use translations files to replace english expression.
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 242
- $string mixed - term or expression in english
- $class string
- $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 AdminTabCore::loadObject(boolean $opt)
Load class object using identifier in $_GET (if possible) otherwise return an empty object, or die
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2118
- $opt boolean - Return an empty object if load fail
boolean AdminTabCore::postImage(integer $id)
Overload this method for custom checking
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1109
- $id integer - Object id used for deleting images
mixed AdminTabCore::postProcess()
Manage page processing
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 559
mixed AdminTabCore::updateAssoShop($id_object)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 909
- $id_object mixed
mixed AdminTabCore::updateOptions(string $token)
Update options and preferences
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 946
- $token string
mixed AdminTabCore::uploadImage($id, $name, $dir, $ext, $width, $height)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1066
- $id mixed
- $name mixed
- $dir mixed
- $ext mixed
- $width mixed
- $height mixed
mixed AdminTabCore::validateField($value, $field)
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 1049
- $value mixed
- $field mixed
mixed AdminTabCore::validateRules(string $className)
Manage page display (form, list.
..)
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 440
- $className string - Allow to validate a different class than the current one
boolean AdminTabCore::viewAccess($disable)
Check rights to view the current tab
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2245
- $disable mixed
mixed AdminTabCore::viewDetails()
Display object details
- Visibility: public
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2207
mixed AdminTabCore::warnDomainName()
- Visibility: protected
- Warning: this method is deprecated. This means that this method will likely be removed in a future version.
- Source: classes/AdminTab.php line 2308