1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс DataManager
Граф наследования:DataManager:
ButtonSiteTable DebuggerSessionDocumentTable DebuggerSessionTable DebuggerSessionTemplateShardsTable DebuggerSessionWorkflowContextTable DocumentTypeUserOptionTable ResultTable TrackingTable ActivityStorageTable WorkflowDurationStatTable WorkflowFilterTable WorkflowInstanceTable WorkflowMetadataTable WorkflowStateTable WorkflowUserCommentTable WorkflowUserTable TaskSearchContentTable TaskTable TaskUserTable WorkflowTemplateDraftTable WorkflowTemplateSettingsTable WorkflowTemplateUserOptionTable GlobalConstTable GlobalVarTable AccessTable CounterTable EventAttendeeTable EventConnectionTable EventOriginalRecursionTable EventSectTable QueueHandledMessageTable QueueMessageTable RoomCategoryTable SectionConnectionTable SharingLinkMemberTable SharingLinkRuleTable SharingLinkTable SharingObjectRuleTable OpenEventCategoryAttendeeTable OpenEventCategoryBannedTable OpenEventCategoryMutedTable OpenEventCategoryTable OpenEventOptionTable AgentContractFileTable AgentContractTable AgentProductTable CatalogIblockTable ContractorTable DiscountEntityTable ExtraTable GroupAccessTable GroupTable PriceTable ProductCompilationTable ProductTable RoundingTable StoreBarcodeTable StoreBatchDocumentElementTable StoreBatchTable StoreDocumentBarcodeTable StoreDocumentElementTable StoreDocumentFileTable StoreDocumentTable StoreProductTable VatTable CopyQueueTable DeleteQueueTable FileBucketTable FileHashTable FileResizeTable FileSaveTable FileUploadTable CurrencyLangTable CurrencyRateTable CurrencyTable UserTopicTable ElementPropertyTable ElementTable IblockTable CommonElementTable ValueStorageTable PropertyFeatureTable PropertyTable SectionTable TypeTable AnchorTable CallTable CallUserTable ChatPinnedMessageTable CounterOverflowTable FileTemporaryTable HrSyncQueueTable LastMessageTable LinkCalendarIndexTable LinkCalendarTable LinkFavoriteTable LinkFileTable LinkPinTable LinkReminderTable LinkTaskTable LinkUrlIndexTable LinkUrlTable LogTable MessageDisappearingTable MessageUnreadTable MessageViewedTable NoRelationPermissionDiskTable NotifyGroupConditionTable NotifyGroupTable OptionAccessTable OptionGroupTable OptionStateTable OptionUserTable ReactionTable RecentInitQueueTable AddressFieldTable AddressLinkTable AddressTable AreaTable LocationFieldTable LocationNameTable LocationTable RecentAddressTable SourceTable StaticMapFileTable DomainEmailTable MailContactTable MailCounterTable MailEntityOptionsTable MailMessageAttachmentTable MailboxAccessTable MailboxDirectoryTable MessageAccessTable MessageClosureTable MessageDeleteQueueTable MessageUploadQueueTable OAuthTable UserSignatureTable DataManager CounterDataTable ApplicationPasswordTable GroupSubordinateTable ModuleGroupTable UserAuthCodeTable UserDeviceLoginTable UserDeviceTable UserHitAuthTable UserPasswordTable UserStoredAuthTable ParametersTable CacheCleanPathTable CacheTagTable EventLogTable LogNotificationActionTable LogNotificationTable FileDuplicateTable FileHashTable FileVersionTable GroupTable CultureTable LanguageTable BlacklistTable EventAttachmentTable EventMessageAttachmentTable EventMessageSiteTable EventMessageTable EventTable EventTypeTable SenderSendCounterTable SenderTable MessengerMessageTable ModuleTable NumeratorSequenceTable NumeratorTable VendorNotificationSignTable VendorNotificationTable RuleRecordTable HandlerTable GeonameTable UserSessionTable ToolbarItemTable ToolbarTable SiteTable TemplateTable AuthorTable BookTable PublisherTable StoreBookTable StoreTable EntityUsageTable FilePreviewTable VersionHistoryTable RouteTable UrlMetadataTable AgreementTable ConsentTable FieldTable UserConsentItemTable PrototypeItemDataManager TypeDataManager UserFieldLangTable UserFieldTable UserPhoneAuthTable UserProfileHistoryTable UserTable ChannelTable MessageTable RestAppTable RestrictionTable TemplateTable IncomingMessageTable CacheHitrateTable WatchTable PasswordTable PermissionTable OwnerEntityTable StorageTable FreeAppTable PlacementLangTable CashboxCheckTable CashboxConnectTable CashboxTable CashboxZReportTable Check2CashboxTable CheckRelatedEntitiesTable KkmModelTable DeliveryRestHandlerTable RelatedDataTable IndexElementTable IndexSectionTable B24integrationTokenTable CashboxRestHandlerTable EntityLabelTable OrderProcessingTable OrderPropsGroupTable OrderPropsTable OrderPropsValueTable OrderPropsVariantTable PaySystemActionTable PayableItemTable PaymentPaySystemAvailableTable ReliabilityTable ShipmentItemTable SynchronizerLogTable UserGroupRestrictionTable UserPropsTable UserPropsValueTable UserTransactTable YandexSettingsTable BasketReservationHistoryTable BasketReservationTable UserTable FileTable TemplateTable CollabLastActivityTable CollabLogTable CollabOptionTable QueueTable EventTable QueueTable CounterTable QueueTable SpaceCompositionTable LiveWatchTable SpaceUserLatestActivityTable SpaceUserRecentActivityTable LogCommentTable LogSiteTable LogTable UserLinkTable RubricTable SubscriptionTable FileIndexTable PathIndexTable PathLangTable PathTreeTable PhraseFts PhraseIndexTable GroupTable OrmDataManager TempFileTable

Открытые статические члены

static getEntity ()
static unsetEntity ($class)
static getTableName ()
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static getMap ()
static getUfId ()
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static add (array $data)
static addMulti ($rows, $ignoreEvents=false)
static update ($primary, array $data)
static delete ($primary)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

Поля данных

const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"

Защищенные статические члены

static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)

Статические защищенные данные

static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

Подробное описание

Base entity data manager

См. определение в файле datamanager.php строка 34

Методы

◆ add()

add ( array $data)
static

Adds row to entity table

Аргументы
array$dataAn array with fields like array( "fields" => array( "FIELD1" => "value1", "FIELD2" => "value2", ), "auth_context" => \Bitrix\Main\Authentication\Context object ) or just a plain array of fields.

This method uses the default strategy defined in the class.

Возвращает
AddResult Contains ID of inserted row
Исключения

Exception

Переопределяется в WorkflowInstanceTable, TaskTable, TaskUserTable, StoreDocumentSpecificTable, ElementTable, SenderTable, UserFieldTable и UserTable.

См. определение в файле datamanager.php строка 877

◆ addMulti()

addMulti ( $rows,
$ignoreEvents = false )
static

Adds several rows to entity table.

This method uses the default strategy defined in the class.

Аргументы
$rows
bool$ignoreEvents
Возвращает
AddResult
Исключения
Main

ArgumentException

Исключения
Main

SystemException

Переопределяется в CommonElementTable и AccessPermissionTable.

См. определение в файле datamanager.php строка 1041

◆ callOnAddEvent()

callOnAddEvent ( $object,
$fields,
$ufdata )
staticprotected
Аргументы
$object
$fields
$ufdata

См. определение в файле datamanager.php строка 1756

◆ callOnAfterAddEvent()

callOnAfterAddEvent ( $object,
$fields,
$id )
staticprotected
Аргументы
EntityObject$object
array$fields
int$id

См. определение в файле datamanager.php строка 1777

◆ callOnAfterDeleteEvent()

callOnAfterDeleteEvent ( $object,
$entity )
staticprotected
Аргументы
$object
$entity

См. определение в файле datamanager.php строка 1909

◆ callOnAfterUpdateEvent()

callOnAfterUpdateEvent ( $object,
$fields )
staticprotected
Аргументы
EntityObject$object
$fields

См. определение в файле datamanager.php строка 1855

◆ callOnBeforeAddEvent()

callOnBeforeAddEvent ( $object,
$fields,
$result )
staticprotected
Аргументы
EntityObject$object
$fields
$result

См. определение в файле datamanager.php строка 1728

◆ callOnBeforeDeleteEvent()

callOnBeforeDeleteEvent ( $object,
$entity,
$result )
staticprotected
Аргументы
$object
$entity
$result

См. определение в файле datamanager.php строка 1879

◆ callOnBeforeUpdateEvent()

callOnBeforeUpdateEvent ( $object,
$fields,
$result )
staticprotected
Аргументы
EntityObject$object
$fields
$result

См. определение в файле datamanager.php строка 1802

◆ callOnDeleteEvent()

callOnDeleteEvent ( $object,
$entity )
staticprotected
Аргументы
$object
$entity

См. определение в файле datamanager.php строка 1895

◆ callOnUpdateEvent()

callOnUpdateEvent ( $object,
$fields,
$ufdata )
staticprotected
Аргументы
EntityObject$object
$fields
$ufdata

См. определение в файле datamanager.php строка 1832

◆ checkFields()

checkFields ( Result $result,
$primary,
array $data )
static

Checks the data fields before saving to DB. Result stores in the $result object

Аргументы
Result$result
mixed$primary
array$data
Исключения
Main

ArgumentException

Исключения
Main

SystemException

Переопределяется в AccessPermissionTable.

См. определение в файле datamanager.php строка 686

◆ checkUfFields()

checkUfFields ( $object,
$ufdata,
$result )
staticprotected
Аргументы
EntityObject$object
$ufdata
Result$result

См. определение в файле datamanager.php строка 820

◆ cleanCache()

cleanCache ( )
static

Cleans the tablet cache after data modifications.

Возвращает
void

Переопределяется в CurrencyLangTable, TypeTable, HandlerTable и SiteTable.

См. определение в файле datamanager.php строка 1983

◆ createCollection()

createCollection ( )
staticfinal
Возвращает
null Actual type should be annotated by orm:annotate
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 242

◆ createObject()

createObject ( $setDefaultValues = true)
staticfinal
Аргументы
bool$setDefaultValues
Возвращает
null Actual type should be annotated by orm:annotate
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 232

◆ cryptoEnabled()

cryptoEnabled ( $field,
$table = null )
static

Returns true if crypto is enabled for a field.

Аргументы
string$field
string$table
Возвращает
bool

См. определение в файле datamanager.php строка 1950

◆ delete()

delete ( $primary)
static

Deletes row in entity table by primary key

Аргументы
mixed$primary
Возвращает
DeleteResult
Исключения

Exception

Переопределяется в TaskTable, TaskUserTable, StoreDocumentSpecificTable, ElementTable, CultureTable, UserFieldTable, UserTable, KkmModelTable и PaySystemActionTable.

См. определение в файле datamanager.php строка 1644

◆ enableCrypto()

enableCrypto ( $field,
$table = null,
$mode = true )
static

Sets a flag indicating crypto support for a field.

Аргументы
string$field
string$table
bool$mode

См. определение в файле datamanager.php строка 1926

◆ getAddStrategy()

getAddStrategy ( )
staticprotected

См. определение в файле datamanager.php строка 853

◆ getById()

getById ( $id)
static

Returns selection by entity's primary key

Аргументы
mixed$idPrimary key of the entity
Возвращает
QueryResult
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 364

◆ getByPrimary()

getByPrimary ( $primary,
array $parameters = array() )
static

Returns selection by entity's primary key and optional parameters for getList()

Аргументы
mixed$primaryPrimary key of the entity
array$parametersAdditional parameters for getList()
Возвращает
QueryResult
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 330

◆ getCollectionClass()

getCollectionClass ( )
static

Returns class of Object collection for current entity.

Возвращает
string|Collection

Переопределяется в OpenEventCategoryAttendeeTable, OpenEventCategoryTable, ElementV1Table, ElementV2Table, BookTable, ReliabilityTable, CollabOptionTable, QueueTable, SpaceCompositionTable, LogTable, FileIndexTable, PathIndexTable и PhraseIndexTable.

См. определение в файле datamanager.php строка 159

◆ getCollectionClassByDataClass()

getCollectionClassByDataClass ( $dataClass)
staticprotected

См. определение в файле datamanager.php строка 180

◆ getCollectionClassName()

getCollectionClassName ( )
staticfinal

Returns class name (without namespace) of Object collection for current entity.

Возвращает
string

См. определение в файле datamanager.php строка 174

◆ getCollectionParentClass()

getCollectionParentClass ( )
static
Возвращает
Collection|string

См. определение в файле datamanager.php строка 204

◆ getConnectionName()

getConnectionName ( )
static

Returns connection name for entity

Возвращает
string

Переопределяется в UserSessionTable.

См. определение в файле datamanager.php строка 102

◆ getCount()

getCount ( $filter = array(),
array $cache = array() )
static

Performs COUNT query on entity and returns the result.

Аргументы
array | Filter$filter
array$cacheAn array of cache options "ttl" => integer indicating cache TTL
Возвращает
int
Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 516

◆ getEntity()

getEntity ( )
static

Returns entity object

Возвращает
Entity
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 65

◆ getEntityClass()

getEntityClass ( )
static
Возвращает
Entity|string

Переопределяется в CommonElementTable, ElementV1Table, ElementV2Table и ValueStorageTable.

См. определение в файле datamanager.php строка 220

◆ getList()

getList ( array $parameters = array())
static

Executes the query and returns selection by parameters of the query. This function is an alias to the Query object functions

Аргументы
array$parametersAn array of query parameters, available keys are:
"select" => array of fields in the SELECT part of the query, aliases are possible in the form of "alias"=>"field";
"filter" => array of filters in the WHERE/HAVING part of the query in the form of "(condition)field"=>"value"; also could be an instance of Filter;
"group" => array of fields in the GROUP BY part of the query;
"order" => array of fields in the ORDER BY part of the query in the form of "field"=>"asc|desc";
"limit" => integer indicating maximum number of rows in the selection (like LIMIT n in MySql);
"offset" => integer indicating first row number in the selection (like LIMIT n, 100 in MySql);
"runtime" => array of entity fields created dynamically;
"cache => array of cache options:<br> "ttl" => integer indicating cache TTL;<br> "cache_joins" => boolean enabling to cache joins, false by default.
См. также
Query::filter()
Возвращает
QueryResult
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 431

◆ getMap()

getMap ( )
static

Returns entity map definition. To get initialized fields

См. также
\Bitrix\Main\ORM\Entity::getFields() and \Bitrix\Main\ORM\Entity::getField()

Переопределяется в ButtonSiteTable, DebuggerSessionDocumentTable, DebuggerSessionTable, DebuggerSessionTemplateShardsTable, DebuggerSessionWorkflowContextTable, DocumentTypeUserOptionTable, ResultTable, TrackingTable, ActivityStorageTable, WorkflowDurationStatTable, WorkflowFilterTable, WorkflowInstanceTable, WorkflowMetadataTable, WorkflowStateTable, WorkflowUserCommentTable, WorkflowUserTable, TaskSearchContentTable, TaskTable, TaskUserTable, WorkflowTemplateDraftTable, WorkflowTemplateSettingsTable, WorkflowTemplateUserOptionTable, GlobalConstTable, GlobalVarTable, AccessTable, CounterTable, EventAttendeeTable, EventConnectionTable, EventOriginalRecursionTable, EventSectTable, QueueHandledMessageTable, QueueMessageTable, RoomCategoryTable, SectionConnectionTable, SharingLinkMemberTable, SharingLinkRuleTable, SharingLinkTable, SharingObjectRuleTable, OpenEventCategoryAttendeeTable, OpenEventCategoryBannedTable, OpenEventCategoryMutedTable, OpenEventCategoryTable, OpenEventOptionTable, AgentContractFileTable, AgentContractTable, AgentProductTable, CatalogIblockTable, ContractorTable, DiscountEntityTable, ExtraTable, GroupAccessTable, GroupTable, PriceTable, ProductCompilationTable, ProductTable, RoundingTable, StoreBarcodeTable, StoreBatchDocumentElementTable, StoreBatchTable, StoreDocumentBarcodeTable, StoreDocumentElementTable, StoreDocumentFileTable, StoreDocumentTable, StoreProductTable, VatTable, CopyQueueTable, DeleteQueueTable, FileBucketTable, FileHashTable, FileResizeTable, FileSaveTable, FileUploadTable, CurrencyLangTable, CurrencyRateTable, CurrencyTable, UserTopicTable, ElementPropertyTable, ElementTable, IblockTable, CommonElementTable, PropertyFeatureTable, PropertyTable, SectionTable, TypeTable, AnchorTable, CallTable, CallUserTable, ChatPinnedMessageTable, CounterOverflowTable, FileTemporaryTable, HrSyncQueueTable, LastMessageTable, LinkCalendarIndexTable, LinkCalendarTable, LinkFavoriteTable, LinkFileTable, LinkPinTable, LinkReminderTable, LinkTaskTable, LinkUrlIndexTable, LinkUrlTable, LogTable, MessageDisappearingTable, MessageUnreadTable, MessageViewedTable, NoRelationPermissionDiskTable, NotifyGroupConditionTable, NotifyGroupTable, OptionAccessTable, OptionGroupTable, OptionStateTable, OptionUserTable, ReactionTable, RecentInitQueueTable, UserTable, AddressFieldTable, AddressLinkTable, AddressTable, AreaTable, LocationFieldTable, LocationNameTable, LocationTable, RecentAddressTable, SourceTable, StaticMapFileTable, DomainEmailTable, MailboxAccessTable, MailboxDirectoryTable, MailContactTable, MailCounterTable, MailEntityOptionsTable, MailMessageAttachmentTable, MessageAccessTable, MessageClosureTable, MessageDeleteQueueTable, MessageUploadQueueTable, OAuthTable, UserSignatureTable, AccessPermissionTable, AccessRoleRelationTable, AccessRoleTable, CounterDataTable, ApplicationPasswordTable, GroupSubordinateTable, ModuleGroupTable, UserAuthCodeTable, UserDeviceLoginTable, UserDeviceTable, UserHitAuthTable, UserPasswordTable, UserStoredAuthTable, ParametersTable, CacheCleanPathTable, CacheTagTable, EventLogTable, LogNotificationActionTable, LogNotificationTable, FileDuplicateTable, FileHashTable, FileVersionTable, GroupTable, CultureTable, LanguageTable, BlacklistTable, EventAttachmentTable, EventMessageAttachmentTable, EventMessageSiteTable, EventMessageTable, EventTable, EventTypeTable, SenderSendCounterTable, SenderTable, MessengerMessageTable, ModuleTable, NumeratorSequenceTable, NumeratorTable, VendorNotificationSignTable, VendorNotificationTable, RuleRecordTable, HandlerTable, GeonameTable, UserSessionTable, ToolbarItemTable, ToolbarTable, SiteTable, TemplateTable, AuthorTable, BookTable, PublisherTable, StoreBookTable, StoreTable, EntityUsageTable, FilePreviewTable, VersionHistoryTable, RouteTable, UrlMetadataTable, AgreementTable, ConsentTable, FieldTable, UserConsentItemTable, UserFieldPermissionTable, PrototypeItemDataManager, TypeDataManager, UserFieldLangTable, UserFieldTable, UserPhoneAuthTable, UserProfileHistoryTable, UserTable, ChannelTable, IncomingMessageTable, MessageTable, RestAppTable, RestrictionTable, TemplateTable, CacheHitrateTable, WatchTable, PasswordTable, PermissionTable, OwnerEntityTable, StorageTable, FreeAppTable, PlacementLangTable, CashboxCheckTable, CashboxConnectTable, CashboxTable, CashboxZReportTable, Check2CashboxTable, CheckRelatedEntitiesTable, KkmModelTable, DeliveryRestHandlerTable, RelatedDataTable, IndexElementTable, IndexSectionTable, B24integrationTokenTable, CashboxRestHandlerTable, EntityLabelTable, OrderProcessingTable, OrderPropsGroupTable, OrderPropsTable, OrderPropsValueTable, OrderPropsVariantTable, PayableItemTable, PaymentPaySystemAvailableTable, PaySystemActionTable, ReliabilityTable, ShipmentItemTable, SynchronizerLogTable, UserGroupRestrictionTable, UserPropsTable, UserPropsValueTable, UserTransactTable, YandexSettingsTable, BasketReservationHistoryTable, BasketReservationTable, UserTable, ContactListTable, ContactTable, FileTable, GroupConnectorTable, GroupDealCategoryTable, GroupTable, FileInfoTable, GroupStateTable, ListTable, MailingAttachmentTable, MailingChainTable, MailingGroupTable, MailingSubscriptionTable, MailingTable, MailingTriggerTable, PostingClickTable, PostingReadTable, PostingRecipientTable, PostingTable, PostingUnsubTable, SegmentDataTable, TemplateTable, TimeLineQueueTable, CollabLastActivityTable, CollabLogTable, CollabOptionTable, QueueTable, EventTable, QueueTable, CounterTable, QueueTable, SpaceCompositionTable, LiveWatchTable, SpaceUserLatestActivityTable, SpaceUserRecentActivityTable, LogCommentTable, LogSiteTable, LogTable, UserLinkTable, RubricTable, SubscriptionTable, FileIndexTable, PathIndexTable, PathLangTable, PathTreeTable, PhraseFts, PhraseIndexTable, AccessTable, GroupTable, ItemTable, ItemToFileTable, RecentlyUsedTable и TempFileTable.

См. определение в файле datamanager.php строка 279

◆ getObjectClass()

◆ getObjectClassByDataClass()

getObjectClassByDataClass ( $dataClass)
staticprotected

См. определение в файле datamanager.php строка 141

◆ getObjectClassName()

getObjectClassName ( )
staticfinal

Returns class name (without namespace) of Object for current entity.

Возвращает
string

См. определение в файле datamanager.php строка 135

◆ getObjectParentClass()

getObjectParentClass ( )
static
Возвращает
EntityObject|string

Переопределяется в ElementV1Table, ElementV2Table, ValueStorageTable и TypeDataManager.

См. определение в файле datamanager.php строка 196

◆ getQueryClass()

getQueryClass ( )
static
Возвращает
Query|string

Переопределяется в CommonElementTable.

См. определение в файле datamanager.php строка 212

◆ getRow()

getRow ( array $parameters)
static

Returns one row (or null) by parameters for getList()

Аргументы
array$parametersPrimary key of the entity
Возвращает
array|null
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 398

◆ getRowById()

getRowById ( $id,
array $parameters = [] )
static

Returns one row (or null) by entity's primary key

Аргументы
mixed$idPrimary key of the entity
array$parametersAdditional parameters for getList()
Возвращает
array|null
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 380

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity

Возвращает
string

Переопределяется в ButtonSiteTable, DebuggerSessionDocumentTable, DebuggerSessionTable, DebuggerSessionTemplateShardsTable, DebuggerSessionWorkflowContextTable, DocumentTypeUserOptionTable, ResultTable, TrackingTable, ActivityStorageTable, WorkflowDurationStatTable, WorkflowFilterTable, WorkflowInstanceTable, WorkflowMetadataTable, WorkflowStateTable, WorkflowUserCommentTable, WorkflowUserTable, TaskSearchContentTable, TaskTable, TaskUserTable, WorkflowTemplateDraftTable, WorkflowTemplateSettingsTable, WorkflowTemplateUserOptionTable, GlobalConstTable, GlobalVarTable, AccessTable, CounterTable, EventAttendeeTable, EventConnectionTable, EventOriginalRecursionTable, EventSectTable, QueueHandledMessageTable, QueueMessageTable, RoomCategoryTable, SectionConnectionTable, SharingLinkMemberTable, SharingLinkRuleTable, SharingLinkTable, SharingObjectRuleTable, OpenEventCategoryAttendeeTable, OpenEventCategoryBannedTable, OpenEventCategoryMutedTable, OpenEventCategoryTable, OpenEventOptionTable, PermissionTable, RoleRelationTable, RoleTable, AgentContractFileTable, AgentContractTable, AgentProductTable, CatalogIblockTable, ContractorTable, DiscountEntityTable, ExtraTable, GroupAccessTable, GroupTable, PriceTable, ProductCompilationTable, ProductTable, RoundingTable, StoreBarcodeTable, StoreBatchDocumentElementTable, StoreBatchTable, StoreDocumentBarcodeTable, StoreDocumentElementTable, StoreDocumentFileTable, StoreDocumentTable, StoreProductTable, VatTable, CopyQueueTable, DeleteQueueTable, FileBucketTable, FileHashTable, FileResizeTable, FileSaveTable, FileUploadTable, CurrencyLangTable, CurrencyRateTable, CurrencyTable, UserTopicTable, ElementTable, IblockTable, CommonElementTable, PropertyFeatureTable, PropertyTable, SectionTable, TypeTable, AnchorTable, CallTable, CallUserTable, ChatPinnedMessageTable, CounterOverflowTable, FileTemporaryTable, HrSyncQueueTable, LastMessageTable, LinkCalendarIndexTable, LinkCalendarTable, LinkFavoriteTable, LinkFileTable, LinkPinTable, LinkReminderTable, LinkTaskTable, LinkUrlIndexTable, LinkUrlTable, LogTable, MessageDisappearingTable, MessageUnreadTable, MessageViewedTable, NoRelationPermissionDiskTable, NotifyGroupConditionTable, NotifyGroupTable, OptionAccessTable, OptionGroupTable, OptionStateTable, OptionUserTable, ReactionTable, RecentInitQueueTable, AddressFieldTable, AddressLinkTable, AddressTable, AreaTable, LocationFieldTable, LocationNameTable, LocationTable, RecentAddressTable, SourceTable, StaticMapFileTable, DomainEmailTable, MailboxAccessTable, MailboxDirectoryTable, MailContactTable, MailCounterTable, MailEntityOptionsTable, MailMessageAttachmentTable, MessageAccessTable, MessageClosureTable, MessageDeleteQueueTable, MessageUploadQueueTable, OAuthTable, UserSignatureTable, CounterDataTable, ApplicationPasswordTable, GroupSubordinateTable, ModuleGroupTable, UserAuthCodeTable, UserDeviceLoginTable, UserDeviceTable, UserHitAuthTable, UserPasswordTable, UserStoredAuthTable, ParametersTable, CacheCleanPathTable, CacheTagTable, EventLogTable, LogNotificationActionTable, LogNotificationTable, FileDuplicateTable, FileHashTable, FileVersionTable, GroupTable, CultureTable, LanguageTable, BlacklistTable, EventAttachmentTable, EventMessageAttachmentTable, EventMessageSiteTable, EventMessageTable, EventTable, EventTypeTable, SenderSendCounterTable, SenderTable, MessengerMessageTable, ModuleTable, NumeratorSequenceTable, NumeratorTable, VendorNotificationSignTable, VendorNotificationTable, RuleRecordTable, HandlerTable, GeonameTable, UserSessionTable, ToolbarItemTable, ToolbarTable, SiteTable, TemplateTable, AuthorTable, BookTable, PublisherTable, StoreBookTable, StoreTable, EntityUsageTable, FilePreviewTable, VersionHistoryTable, RouteTable, UrlMetadataTable, AgreementTable, ConsentTable, FieldTable, UserConsentItemTable, UserFieldPermissionTable, UserFieldLangTable, UserPhoneAuthTable, UserProfileHistoryTable, UserTable, ChannelTable, IncomingMessageTable, MessageTable, RestAppTable, RestrictionTable, TemplateTable, CacheHitrateTable, WatchTable, PasswordTable, PermissionTable, OwnerEntityTable, StorageTable, FreeAppTable, PlacementLangTable, CashboxCheckTable, CashboxConnectTable, CashboxTable, CashboxZReportTable, Check2CashboxTable, CheckRelatedEntitiesTable, KkmModelTable, DeliveryRestHandlerTable, RelatedDataTable, IndexElementTable, IndexSectionTable, B24integrationTokenTable, CashboxRestHandlerTable, EntityLabelTable, OrderProcessingTable, OrderPropsGroupTable, OrderPropsTable, OrderPropsValueTable, OrderPropsVariantTable, PayableItemTable, PaymentPaySystemAvailableTable, PaySystemActionTable, ReliabilityTable, ShipmentItemTable, SynchronizerLogTable, UserGroupRestrictionTable, UserPropsTable, UserPropsValueTable, UserTransactTable, YandexSettingsTable, BasketReservationHistoryTable, BasketReservationTable, UserTable, SessionTable, PermissionTable, RoleRelationTable, ContactListTable, ContactTable, FileTable, GroupConnectorTable, GroupDealCategoryTable, GroupTable, FileInfoTable, GroupStateTable, ListTable, MailingAttachmentTable, MailingChainTable, MailingGroupTable, MailingSubscriptionTable, MailingTable, MailingTriggerTable, PostingClickTable, PostingReadTable, PostingRecipientTable, PostingTable, PostingUnsubTable, SegmentDataTable, TemplateTable, TimeLineQueueTable, CollabLastActivityTable, CollabLogTable, CollabOptionTable, QueueTable, EventTable, QueueTable, CounterTable, QueueTable, SpaceCompositionTable, LiveWatchTable, SpaceUserLatestActivityTable, SpaceUserRecentActivityTable, LogCommentTable, LogSiteTable, LogTable, UserLinkTable, RubricTable, SubscriptionTable, FileIndexTable, PathIndexTable, PathLangTable, PathTreeTable, PhraseIndexTable, AccessTable, GroupTable, ItemTable, ItemToFileTable, RecentlyUsedTable и TempFileTable.

См. определение в файле datamanager.php строка 92

◆ getTitle()

getTitle ( )
static
Возвращает
string | null

См. определение в файле datamanager.php строка 110

◆ getUfId()

getUfId ( )
static

Переопределяется в StoreDocumentSpecificTable, ProductTable, BookTable, UserTable, LogCommentTable и LogTable.

См. определение в файле datamanager.php строка 284

◆ isCacheable()

isCacheable ( )
static

You can disable cache for the tablet completely.

Возвращает
bool

Переопределяется в CacheCleanPathTable и CacheTagTable.

См. определение в файле datamanager.php строка 1997

◆ isUtm()

isUtm ( )
static

См. определение в файле datamanager.php строка 294

◆ isUts()

isUts ( )
static

См. определение в файле datamanager.php строка 289

◆ onAdd()

onAdd ( Event $event)
static

См. определение в файле datamanager.php строка 2008

◆ onAfterAdd()

onAfterAdd ( Event $event)
static

Переопределяется в WorkflowDurationStatTable, IblockTable, CommonElementTable, ElementV2Table, AccessPermissionTable, PrototypeItemDataManager и TypeDataManager.

См. определение в файле datamanager.php строка 2009

◆ onAfterDelete()

onAfterDelete ( Event $event)
static

Переопределяется в IblockTable, CommonElementTable, SectionTable, AgreementTable и TypeDataManager.

См. определение в файле datamanager.php строка 2015

◆ onAfterUpdate()

onAfterUpdate ( Event $event)
static

Переопределяется в IblockTable, CommonElementTable, AccessPermissionTable, PrototypeItemDataManager и TypeDataManager.

См. определение в файле datamanager.php строка 2012

◆ onBeforeAdd()

onBeforeAdd ( Event $event)
static

Переопределяется в IblockTable, SectionTable, OptionGroupTable, AddressTable, PrototypeItemDataManager, OrderPropsTable и UserTransactTable.

См. определение в файле datamanager.php строка 2007

◆ onBeforeDelete()

onBeforeDelete ( Event $event)
static

Переопределяется в PrototypeItemDataManager и TypeDataManager.

См. определение в файле datamanager.php строка 2013

◆ onBeforeUpdate()

onBeforeUpdate ( Event $event)
static

◆ onDelete()

onDelete ( Event $event)
static

Переопределяется в SectionTable, FilePreviewTable, UrlMetadataTable и TempFileTable.

См. определение в файле datamanager.php строка 2014

◆ onUpdate()

onUpdate ( Event $event)
static

Переопределяется в UrlMetadataTable.

См. определение в файле datamanager.php строка 2011

◆ postInitialize()

postInitialize ( Entity $entity)
static
Аргументы
Entity$entity
Возвращает
null

См. определение в файле datamanager.php строка 314

◆ query()

query ( )
static

Creates and returns the Query object for the entity

Возвращает
Query
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 549

◆ replaceFieldName()

replaceFieldName ( $data = array())
staticprotected
Аргументы
array$data
Возвращает
array
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 562

◆ setCurrentDeletingObject()

setCurrentDeletingObject ( $object)
static
Аргументы
EntityObject$object

См. определение в файле datamanager.php строка 1972

◆ setDefaultScope()

setDefaultScope ( $query)
static
Аргументы
Query$query
Возвращает
Query

Переопределяется в StoreDocumentSpecificTable и CommonElementTable.

См. определение в файле datamanager.php строка 304

◆ sysAddInternal()

sysAddInternal ( AddStrategy $strategy,
array $data,
bool $ignoreEvents = false )
staticfinalprotected

См. определение в файле datamanager.php строка 885

◆ sysAddMultiInternal()

sysAddMultiInternal ( AddStrategy $strategy,
array $multiData,
bool $ignoreEvents = false )
staticfinalprotected

См. определение в файле datamanager.php строка 1053

◆ unsetEntity()

unsetEntity ( $class)
static

См. определение в файле datamanager.php строка 77

◆ update()

update ( $primary,
array $data )
static

Updates row in entity table by primary key

Аргументы
mixed$primary
array$dataAn array with fields like array( "fields" => array( "FIELD1" => "value1", "FIELD2" => "value2", ), "auth_context" => \Bitrix\Main\Authentication\Context object ) or just a plain array of fields.
Возвращает
UpdateResult
Исключения

Exception

Аргументы
mixed$primary
array$data
Возвращает
Entity\UpdateResult
Исключения
Main

ArgumentException

Исключения
Main

Db\SqlQueryException

Исключения
Main

SystemException

Переопределяется в WorkflowInstanceTable, TaskTable, StoreDocumentSpecificTable, ElementTable, CultureTable, UserFieldTable и UserTable.

См. определение в файле datamanager.php строка 1256

◆ validatePrimary()

validatePrimary ( $primary)
staticprotected
Аргументы
$primary
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 631

◆ wakeUpCollection()

wakeUpCollection ( $rows)
staticfinal
См. также
Collection::wakeUp()
Аргументы
$rows
Возвращает
null Actual type should be annotated by orm:annotate
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 270

◆ wakeUpObject()

wakeUpObject ( $row)
staticfinal
См. также
EntityObject::wakeUp()
Аргументы
$row
Возвращает
null Actual type should be annotated by orm:annotate
Исключения
Main

ArgumentException

Исключения
Main

SystemException

См. определение в файле datamanager.php строка 256

Поля

◆ $collectionClass

$collectionClass
staticprotected

См. определение в файле datamanager.php строка 53

◆ $currentDeletingObjects

$currentDeletingObjects
staticprotected

См. определение в файле datamanager.php строка 56

◆ $entity

$entity
staticprotected

См. определение в файле datamanager.php строка 47

◆ $objectClass

$objectClass
staticprotected

См. определение в файле datamanager.php строка 50

◆ EVENT_ON_ADD

const EVENT_ON_ADD = "OnAdd"

См. определение в файле datamanager.php строка 37

◆ EVENT_ON_AFTER_ADD

const EVENT_ON_AFTER_ADD = "OnAfterAdd"

См. определение в файле datamanager.php строка 38

◆ EVENT_ON_AFTER_DELETE

const EVENT_ON_AFTER_DELETE = "OnAfterDelete"

См. определение в файле datamanager.php строка 44

◆ EVENT_ON_AFTER_UPDATE

const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"

См. определение в файле datamanager.php строка 41

◆ EVENT_ON_BEFORE_ADD

const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"

См. определение в файле datamanager.php строка 36

◆ EVENT_ON_BEFORE_DELETE

const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"

См. определение в файле datamanager.php строка 42

◆ EVENT_ON_BEFORE_UPDATE

const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"

См. определение в файле datamanager.php строка 39

◆ EVENT_ON_DELETE

const EVENT_ON_DELETE = "OnDelete"

См. определение в файле datamanager.php строка 43

◆ EVENT_ON_UPDATE

const EVENT_ON_UPDATE = "OnUpdate"

См. определение в файле datamanager.php строка 40


Объявления и описания членов классов находятся в файлах: