Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс ElementProperty
+ Граф наследования:ElementProperty:

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

 __construct ($id)
 
 setIblockId ($iblockId)
 
 resolve ($entity)
 
 setFields (array $fields)
 
- Открытые члены унаследованные от Base
 __construct ($id)
 
 getId ()
 
 resolve ($entity)
 
 setFields (array $fields)
 
 getField ($fieldName)
 

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

 loadFromDatabase ()
 
- Защищенные члены унаследованные от Base
 loadFromDatabase ()
 
 addField ($fieldName, $internalName, $value)
 

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

 $iblockId = 0
 
 $properties = array()
 
 $elementLinkProperties = array()
 
 $sectionLinkProperties = array()
 
- Защищенные данные унаследованные от Base
 $id = null
 
 $fields = null
 
 $fieldMap = array()
 

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

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

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

◆ __construct()

__construct (   $id)
Аргументы
integer$idIblock element identifier.

Переопределяет метод предка Base.

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

Методы

◆ loadFromDatabase()

loadFromDatabase ( )
protected

Loads values from database. Returns true on success.

Возвращает
boolean

Переопределяет метод предка Base.

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

◆ resolve()

resolve (   $entity)

Used to find entity for template processing.

Аргументы
string$entityWhat to find.
Возвращает
\Bitrix\Iblock\Template\Entity\Base

Переопределяет метод предка Base.

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

◆ setFields()

setFields ( array  $fields)

Used to initialize entity fields from some external source.

Аргументы
array$fieldsEntity fields.
Возвращает
void

Переопределяет метод предка Base.

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

◆ setIblockId()

setIblockId (   $iblockId)

Set the iblock of the element.

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

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

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

◆ $elementLinkProperties

$elementLinkProperties = array()
protected

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

◆ $iblockId

$iblockId = 0
protected

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

◆ $properties

$properties = array()
protected

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

◆ $sectionLinkProperties

$sectionLinkProperties = array()
protected

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