Documentation

Dictionary

Dictionary class handles dictionary with property string values.

Class methods

MethodDescription Available from version
createMethod creates new dictionary for an iblock. Ensure that no dictionary exist for this iblock before using this method.
dropDeletes existing dictionary in the database. Ensure that dictionary exists before using this method.
getIblockIdReturns iblock ID.
getStringByIdReturns property string value by its ID in dictionary.
getStringByIdsReturns array with property string values by their IDs in dictionary.
getStringIdReturns unique string ID.
getTableNameReturns name for database table for storage property values. Internal method.
isExistsChecks if dictionary exists in database and returns true on success.
validateValueReturns validator for the the field VALUE (property value). Internal method.


© «Bitrix24», 2001-2022
Up