Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Base

Открытые статические члены

static getDescription ()
 
static getConfig ()
 
static isAllowed ()
 
static getTitle ()
 
static getUserFieldBaseParam ()
 
static isExists ()
 
static create ()
 
static updateProductFormConfiguration ()
 
static getTypeId ()
 
static getFieldId ()
 
static getGridAction (ProductGroupAction $panel)
 
static load ()
 
static clearCache ()
 
static checkAllowedProductType (int $type)
 
static getAllowedProductTypeList ()
 
static checkRestictions (array $restrictions)
 
static getGroupActionRequest (ProductGroupAction $panel)
 
static checkAllowedOperation (string $operation)
 
static getAllowedOperations ()
 
static getOperationSelectFieldList (string $operation)
 
static prepareValue (string $operation, array $productRow)
 
static renderAdminFormControl (array $field, array $product, array $config)
 
static getUiDescription (array $restrictions)
 

Открытые атрибуты

const FIELD_ID = ''
 
const TYPE_ID = ''
 

Защищенные статические члены

static getTitleInternal ()
 
static isBitrix24 ()
 
static getUserFieldName (string $id)
 
static getLanguages ()
 
static getMessages (string $file, array $messageIds)
 
static getCommonError (string $errorCode)
 
static getGridActionConfig (ProductGroupAction $panel)
 
static afterLoadInternalModify (array $row)
 
static getUiDescriptionInternal (array $description, array $userField, array $restrictions)
 

Защищенные данные

const FIELD_PREFIX = 'UF_'
 

Статические защищенные данные

static bool $bitrix24Include = null
 
static array $languages = null
 
static array $allowedProductTypeList = null
 
static array $allowedOperations = null
 

Подробное описание

См. определение в файле base.php строка 11

Методы

◆ afterLoadInternalModify()

static afterLoadInternalModify ( array $row)
staticprotected

См. определение в файле base.php строка 336

◆ checkAllowedOperation()

static checkAllowedOperation ( string $operation)
static

См. определение в файле base.php строка 410

◆ checkAllowedProductType()

static checkAllowedProductType ( int $type)
static

См. определение в файле base.php строка 359

◆ checkRestictions()

static checkRestictions ( array $restrictions)
static

См. определение в файле base.php строка 379

◆ clearCache()

static clearCache ( )
static

См. определение в файле base.php строка 290

◆ create()

static create ( )
static

См. определение в файле base.php строка 114

◆ getAllowedOperations()

static getAllowedOperations ( )
static

См. определение в файле base.php строка 425

◆ getAllowedProductTypeList()

static getAllowedProductTypeList ( )
static

См. определение в файле base.php строка 374

◆ getCommonError()

static getCommonError ( string $errorCode)
staticprotected

См. определение в файле base.php строка 224

◆ getConfig()

static getConfig ( )
staticabstract

Returns field config or null, if field is not allowed.

Возвращает
array|null array or null. if returns array, his keys are case sensitive:
  • array FIELD - description of user field. Required. Contains all data for create user field.
Other keys in context interface class (user field type).

◆ getDescription()

static getDescription ( )
static

Returns field description or null, if field is not allowed. Contains identifier and interface class.

Возвращает
array|null array or null. if returns array, his keys are case sensitive:
  • string ID - constains copy of className::FIELD_ID from real class.
  • string TYPE - constains copy of className::TYPE_ID from real class.
  • string TITLE - contains field name.

См. определение в файле base.php строка 69

◆ getFieldId()

static getFieldId ( )
static

См. определение в файле base.php строка 159

◆ getGridAction()

static getGridAction ( ProductGroupAction $panel)
static

См. определение в файле base.php строка 236

◆ getGridActionConfig()

static getGridActionConfig ( ProductGroupAction $panel)
staticprotected

См. определение в файле base.php строка 270

◆ getGroupActionRequest()

static getGroupActionRequest ( ProductGroupAction $panel)
static

См. определение в файле base.php строка 392

◆ getLanguages()

static getLanguages ( )
staticprotected

Fills and returns list of active languages.

Возвращает
array

См. определение в файле base.php строка 184

◆ getMessages()

static getMessages ( string $file,
array $messageIds )
staticprotected

См. определение в файле base.php строка 203

◆ getOperationSelectFieldList()

static getOperationSelectFieldList ( string $operation)
static

См. определение в файле base.php строка 430

◆ getTitle()

static getTitle ( )
static

См. определение в файле base.php строка 97

◆ getTitleInternal()

static getTitleInternal ( )
staticabstractprotected

◆ getTypeId()

static getTypeId ( )
static

См. определение в файле base.php строка 154

◆ getUiDescription()

static getUiDescription ( array $restrictions)
static

См. определение в файле base.php строка 465

◆ getUiDescriptionInternal()

static getUiDescriptionInternal ( array $description,
array $userField,
array $restrictions )
staticprotected

См. определение в файле base.php строка 503

◆ getUserFieldBaseParam()

static getUserFieldBaseParam ( )
staticabstract

◆ getUserFieldName()

static getUserFieldName ( string $id)
staticprotected

См. определение в файле base.php строка 174

◆ isAllowed()

static isAllowed ( )
staticabstract

◆ isBitrix24()

static isBitrix24 ( )
staticprotected

См. определение в файле base.php строка 164

◆ isExists()

static isExists ( )
static

См. определение в файле base.php строка 108

◆ load()

static load ( )
static

См. определение в файле base.php строка 275

◆ prepareValue()

static prepareValue ( string $operation,
array $productRow )
static

См. определение в файле base.php строка 435

◆ renderAdminFormControl()

static renderAdminFormControl ( array $field,
array $product,
array $config )
static

См. определение в файле base.php строка 440

◆ updateProductFormConfiguration()

static updateProductFormConfiguration ( )
static

См. определение в файле base.php строка 152

Данные класса

◆ $allowedOperations

array $allowedOperations = null
staticprotected

См. определение в файле base.php строка 55

◆ $allowedProductTypeList

array $allowedProductTypeList = null
staticprotected

List of allowed product types.

См. определение в файле base.php строка 53

◆ $bitrix24Include

bool $bitrix24Include = null
staticprotected

Contains true for cloud project.

См. определение в файле base.php строка 41

◆ $languages

array $languages = null
staticprotected

List of active languages.

См. определение в файле base.php строка 46

◆ FIELD_ID

const FIELD_ID = ''

См. определение в файле base.php строка 20

◆ FIELD_PREFIX

const FIELD_PREFIX = 'UF_'
protected

См. определение в файле base.php строка 36

◆ TYPE_ID

const TYPE_ID = ''

См. определение в файле base.php строка 29