Documentation

ElementValues

ElementValues class for handling values for calculated inherited element properties.

Class methods

MethodDescription Available from version
clearValuesClears entity values from database cache.
createTemplateEntityCreates entity to be used for handling templates.
getIdReturns element's unique ID.
getParentsReturns array of all element parents with parent section with minimal ID or an iblock as array values.
getTypeReturns type of entity to be stored in database.
getValueTableNameReturns name for table to save inherited calculated property values.
queryValuesReturns all calculated values for inherited element properties.
setParentsWhen array of section IDs is passed on input, this method sets section with minimal ID as parent. When passing a numeral, sets a section with sectionId as parent.


© «Bitrix24», 2001-2024
Up