Skip to content

Latest commit

 

History

History
2355 lines (1220 loc) · 58.6 KB

class.AdminTabCore.md

File metadata and controls

2355 lines (1220 loc) · 58.6 KB

Class AdminTabCore

  • 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

Contents

Properties

Methods

Properties

$_conf

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.

$_defaultFormLanguage

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.

$_defaultOrderBy

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.

$_errors

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.

$_fieldsOptions

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.

$_filter

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.

$_group

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.

$_having

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.

$_includeContainer

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.

$_includeObj

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.

$_includeVars

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.

$_join

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.

$_languages

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.

$_list

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.

$_listTotal

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.

$_object

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.

$_orderBy

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.

$_orderWay

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.

$_pagination

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.

$_redirect

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.

$_select

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.

$_tmpTableFilter

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.

$_where

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.

$ajax

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.

$className

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.

$colorOnBackground

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.

$context

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.

$currentIndex

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.

$delete

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.

$deleted

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.

$duplicate

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.

$edit

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.

$fieldImageSettings

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.

$fieldsDisplay

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.

$formOptions

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.

$id

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.

$identifier

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.

$identifiersDnd

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.

$ignore_sleep

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.

$imageType

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.

$lang

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.

$maxImageSize

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.

$noLink

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.

$optionTitle

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.

$optionsList

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.

$requiredDatabase

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.

$shopLinkType

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.

$shopShareDatas

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.

$smarty

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.

$specificConfirmDelete

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.

$tabAccess

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.

$tabParenting

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.

$table

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.

$token

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.

$view

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.

Methods

__construct

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

_childValidation

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

_displayDeleteLink

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

Arguments

  • $token mixed
  • $id mixed

_displayDuplicate

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

Arguments

  • $token mixed
  • $id mixed

_displayEditLink

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

Arguments

  • $token mixed
  • $id mixed

_displayEnableLink

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

Arguments

  • $token mixed
  • $id mixed
  • $value mixed
  • $active mixed
  • $id_category mixed
  • $id_product mixed

_displayViewLink

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

Arguments

  • $token mixed
  • $id mixed

afterAdd

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

Arguments

  • $object mixed

afterDelete

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

Arguments

  • $object object - Object
  • $oldId mixed

afterImageUpload

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

afterUpdate

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

Arguments

  • $object mixed

ajaxPreProcess

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

ajaxProcess

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

beforeDelete

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

Arguments

  • $object object - Object

beforeUpdateOptions

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

checkToken

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

copyFromPost

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

Arguments

  • $object mixed
  • $table string - Object table

deleteImage

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

Arguments

  • $id integer - Object id used for deleting images

display

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

displayAddButton

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

displayAjax

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

displayAssoShop

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

displayBottomOptionCategory

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

Arguments

  • $category mixed
  • $data mixed

displayConf

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

displayErrors

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

displayFlags

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

Arguments

  • $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 "¤"

displayForm

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

Arguments

  • $firstCall mixed

displayImage

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

Arguments

  • $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

displayList

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

displayListContent

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

Arguments

  • $token mixed

displayListFooter

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

Arguments

  • $token mixed

displayListHeader

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

Arguments

  • $token mixed

displayOptionTypeBool

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeDisabled

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeFile

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeImage

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypePassword

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypePrice

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeRadio

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeSelect

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeSelectLang

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeText

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeTextLang

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeTextarea

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionTypeTextareaLang

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

Arguments

  • $key mixed
  • $field mixed
  • $value mixed

displayOptionsList

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

displayRequiredFields

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

displayTop

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

displayTopOptionCategory

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

Arguments

  • $category mixed
  • $data mixed

displayWarning

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

Arguments

  • $warn string - Warning message to display

filterToField

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

Arguments

  • $key mixed
  • $filter mixed

getAssoShop

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

Arguments

  • $table mixed
  • $id_object mixed

getCurrentUrl

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

Arguments

  • $remove array - List of keys to remove from URL

getFieldValue

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

Arguments

  • $obj object - Object
  • $key string - Field name
  • $id_lang integer - Language id (optional)
  • $id_shop mixed

getList

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

Arguments

  • $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

includeSubTab

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

Arguments

  • $methodname mixed
  • $actions mixed

l

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

Arguments

  • $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')

loadObject

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

Arguments

  • $opt boolean - Return an empty object if load fail

postImage

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

Arguments

  • $id integer - Object id used for deleting images

postProcess

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

updateAssoShop

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

Arguments

  • $id_object mixed

updateOptions

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

Arguments

  • $token string

uploadImage

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

Arguments

  • $id mixed
  • $name mixed
  • $dir mixed
  • $ext mixed
  • $width mixed
  • $height mixed

validateField

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

Arguments

  • $value mixed
  • $field mixed

validateRules

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

Arguments

  • $className string - Allow to validate a different class than the current one

viewAccess

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

Arguments

  • $disable mixed

viewDetails

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

warnDomainName

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