Documentation

DataProvider

DataProvider - abstract class of data provider. Classes that realize it pass fields and values. The module has several base descendants of this class. Any DataProvider can return another DataProvider in one of his fields. Nesting level is unlimited.

Class methods

MethodDescription
setParentProviderIndicates parent provider.
getFieldsPasses array with set of fields.
getValueReturns value by field name.
hasAccess($userId)Checks access permissions for the user with ID $userId.


© «Bitrix24», 2001-2022
Up