1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс BaseValues
Граф наследования:BaseValues:
ElementValues IblockValues SectionValues

Открытые члены

 __construct ($iblockId)
 getIblockId ()
 getValueTableName ()
 getType ()
 getId ()
 createTemplateEntity ()
 getParents ()
 getParent ()
 getValues ()
 getValue ($propertyCode)
 queryValues ()
 hasTemplates ()
 clearValues ()
 deleteValues ($ipropertyId)

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

static queue ($iblockId, $id)

Защищенные члены

 insertValues ($tableName, $primaryFields, $rows)

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

 $iblockId = null
 $values = false
 $queue = null

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

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

Конструктор(ы)

◆ __construct()

__construct ( $iblockId)
Аргументы
integer$iblockIdIblock identifier.

Переопределяется в IblockValues.

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

Методы

◆ clearValues()

clearValues ( )
abstract

Clears entity values DB cache

Возвращает
void

Переопределяется в ElementValues, IblockValues и SectionValues.

◆ createTemplateEntity()

createTemplateEntity ( )
abstract

Creates an entity which will be used to process the templates.

Возвращает
\Bitrix\Iblock\Template\Entity\Base

Переопределяется в ElementValues, IblockValues и SectionValues.

◆ deleteValues()

deleteValues ( $ipropertyId)

Must be called on template delete.

Аргументы
integer$ipropertyIdIdentifier of the inherited property.
Возвращает
void

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

◆ getIblockId()

getIblockId ( )

Returns the identifier of the iblock of the entity.

Возвращает
integer

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

◆ getId()

getId ( )
abstract

Returns unique identifier of the entity

Возвращает
integer

Переопределяется в ElementValues, IblockValues и SectionValues.

◆ getParent()

getParent ( )

Returns it's first parent if exists one. Otherwise returns null.

Возвращает
\Bitrix\Iblock\InheritedProperty\BaseValues|null

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

◆ getParents()

getParents ( )

Returns all the parents of the entity.

Возвращает
array[]\Bitrix\Iblock\InheritedProperty\BaseValues

Переопределяется в ElementValues, IblockValues и SectionValues.

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

◆ getType()

getType ( )
abstract

Returns type of the entity which will be stored into DB.

Возвращает
string

Переопределяется в ElementValues, IblockValues и SectionValues.

◆ getValue()

getValue ( $propertyCode)

Returns value of the inherited property. The result is html encoded string.

Аргументы
string$propertyCodeMnemonic code.
Возвращает
string

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

◆ getValues()

getValues ( )

Returns all calculated values of inherited properties for this entity.

Возвращает
array[string]string

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

◆ getValueTableName()

getValueTableName ( )

Returns the table name where values will be stored.

Возвращает
string

Переопределяется в ElementValues, IblockValues и SectionValues.

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

◆ hasTemplates()

hasTemplates ( )

Checks if there are some templates exists for this set of values.

Возвращает
boolean

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

◆ insertValues()

insertValues ( $tableName,
$primaryFields,
$rows )
protected

Helper method to save batch values.

Аргументы
string$tableNameWhere to insert data.
array$primaryFieldsPrimary fields list.
array$rowsData to insert.
Возвращает
void

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

◆ queryValues()

queryValues ( )

Queries templates for this entity. Then processes them in order to get calculated values.

Возвращает
array[string][string]string

Переопределяется в ElementValues, IblockValues и SectionValues.

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

◆ queue()

queue ( $iblockId,
$id )
static

Puts a mark for and element or section to be queried from the database.

Аргументы
integer$iblockIdIBlock identifier.
integer$idElement or section identifier.
Возвращает
void

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

Поля

◆ $iblockId

$iblockId = null
protected

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

◆ $queue

$queue = null
protected

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

◆ $values

$values = false
protected

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


Объявления и описания членов класса находятся в файле: