Documentation

EntityBinding

EntityBinding class handles entity bindings storage.

Class methods

MethodDescription Available from version
findPrimaryBindingAttempts to find primary binding.
getFirstEntityIDGets entity ID from first binding.
getLastEntityIDGets entity ID from last binding.
markAsPrimaryMarks binding as the primary.
markFirstAsPrimaryMarks first binding as primary.
prepareBindingChangesPrepares binding updates.
prepareEntityBindingsPrepares entity bindings from array with entity IDs.
prepareEntityIDGets entity ID from binding.
prepareEntityIDsGets entity IDs from bindings.
resolveEntityFieldNameAssigns field name for specified entity type.
verifyEntityBindingVerifies binding structure.


© «Bitrix24», 2001-2024