Documentation

DataSource

DataSource - base class for handling data sources.

Class methods

MethodDescription Available from version
applyFilterContextPrepares external filter parameters depending on data context.
enablePermissionCheckEnables access permission flag.
getDataContextGets current data context.
getFilterContextDataGets filtering context for dictionary parameters.
getDetailsPageUrlGets detail page URL.
getFirstGets first entity from list.
getFirstValueGets value for field entity field from list.
getListGets list of entities.
getPresetFullNameGets fullname for preset data.
getPresetNameGets preset data name.
getTypeNameGets name for data source type.
getUserIDGets user ID.
initializeDemoDataInitializes demo data.
isPermissionCheckEnabledVerifies if access permissions check is enabled.
prepareEntityListFilterPrepares filter for entity list.
setFilterContextDataSets filter context for dictionary parameters.




© «Bitrix24», 2001-2024