Открытые статические члены | |
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) |
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 | 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 | 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 |
static | $reservedWords |
Base entity data manager
См. определение в файле datamanager.php строка 32
|
static |
Adds row to entity table
array | $data | An 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. |
Exception
Переопределяется в WorkflowInstanceTable, WorkflowStateTable, ElementTable, UserTable и UserFieldTable.
См. определение в файле datamanager.php строка 874
|
static |
$rows | ||
bool | $ignoreEvents |
Main |
ArgumentException
Main |
SystemException
Переопределяется в CommonElementTable.
См. определение в файле datamanager.php строка 1011
|
staticprotected |
$object | |
$fields | |
$ufdata |
См. определение в файле datamanager.php строка 1739
|
staticprotected |
EntityObject | $object | |
array | $fields | |
int | $id |
См. определение в файле datamanager.php строка 1760
|
staticprotected |
$object | |
$entity |
См. определение в файле datamanager.php строка 1892
|
staticprotected |
EntityObject | $object | |
$fields |
См. определение в файле datamanager.php строка 1838
|
staticprotected |
EntityObject | $object | |
$fields | ||
$result |
См. определение в файле datamanager.php строка 1711
|
staticprotected |
$object | |
$entity | |
$result |
См. определение в файле datamanager.php строка 1862
|
staticprotected |
EntityObject | $object | |
$fields | ||
$result |
См. определение в файле datamanager.php строка 1785
|
staticprotected |
$object | |
$entity |
См. определение в файле datamanager.php строка 1878
|
staticprotected |
EntityObject | $object | |
$fields | ||
$ufdata |
См. определение в файле datamanager.php строка 1815
|
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
См. определение в файле datamanager.php строка 696
|
staticprotected |
EntityObject | $object | |
$ufdata | ||
Result | $result |
См. определение в файле datamanager.php строка 830
|
static |
Переопределяется в TypeTable и SiteTable.
См. определение в файле datamanager.php строка 1961
|
staticfinal |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 255
|
staticfinal |
bool | $setDefaultValues |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 245
|
static |
Returns true if crypto is enabled for a field.
string | $field | |
string | $table |
См. определение в файле datamanager.php строка 1933
|
static |
Deletes row in entity table by primary key
mixed | $primary |
Exception
Переопределяется в CultureTable, WorkflowStateTable, ElementTable, UserTable, UserFieldTable, KkmModelTable и PaySystemActionTable.
См. определение в файле datamanager.php строка 1627
|
static |
Sets a flag indicating crypto support for a field.
string | $field | |
string | $table | |
bool | $mode |
См. определение в файле datamanager.php строка 1909
|
static |
Returns selection by entity's primary key
mixed | $id | Primary key of the entity |
Main |
ArgumentException
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 377
|
static |
Returns selection by entity's primary key and optional parameters for getList()
mixed | $primary | Primary key of the entity |
array | $parameters | Additional parameters for getList() |
Main |
ArgumentException
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 343
|
static |
Returns class of Object collection for current entity.
Переопределяется в ElementV1Table, ElementV2Table, BookTable, ReliabilityTable, FileDiffTable, FileIndexTable, PathIndexTable и PhraseIndexTable.
См. определение в файле datamanager.php строка 172
|
staticprotected |
См. определение в файле datamanager.php строка 193
|
staticfinal |
Returns class name (without namespace) of Object collection for current entity.
См. определение в файле datamanager.php строка 187
|
static |
См. определение в файле datamanager.php строка 217
|
static |
Returns connection name for entity
См. определение в файле datamanager.php строка 115
|
static |
Performs COUNT query on entity and returns the result.
array | Filter | $filter | |
array | $cache | An array of cache options "ttl" => integer indicating cache TTL |
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 526
|
static |
Returns entity object
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 78
|
static |
Переопределяется в CommonElementTable, ElementV1Table, ElementV2Table и ValueStorageTable.
См. определение в файле datamanager.php строка 233
|
static |
Executes the query and returns selection by parameters of the query. This function is an alias to the Query object functions
array | $parameters | An 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. |
Main |
ArgumentException
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 441
|
static |
Returns entity map definition. To get initialized fields
Переопределяется в ButtonSiteTable, DebuggerSessionDocumentTable, DebuggerSessionTable, DebuggerSessionTemplateShardsTable, DebuggerSessionWorkflowContextTable, TrackingTable, ActivityStorageTable, WorkflowInstanceTable, WorkflowStateTable, GlobalConstTable, GlobalVarTable, AccessTable, EventConnectionTable, MembershipHandlerQueryTable, QueueHandledMessageTable, QueueMessageTable, RoomCategoryTable, SectionConnectionTable, SharingLinkTable, CatalogIblockTable, ContractorTable, DiscountEntityTable, ExtraTable, GroupTable, GroupAccessTable, PriceTable, ProductTable, ProductCompilationTable, StoreBarcodeTable, StoreDocumentBarcodeTable, StoreDocumentElementTable, StoreDocumentFileTable, StoreDocumentTable, StoreProductTable, VatTable, FileSaveTable, UserTopicTable, ElementPropertyTable, ElementTable, IblockTable, CommonElementTable, PropertyFeatureTable, PropertyTable, SectionTable, TypeTable, NoRelationPermissionDiskTable, OptionAccessTable, OptionGroupTable, OptionStateTable, OptionUserTable, AddressFieldTable, AddressLinkTable, AddressTable, AreaTable, LocationFieldTable, LocationNameTable, LocationTable, SourceTable, DomainEmailTable, MailboxAccessTable, MailboxDirectoryTable, MailContactTable, MailCounterTable, MailEntityOptionsTable, MailMessageAttachmentTable, MessageAccessTable, MessageClosureTable, MessageDeleteQueueTable, MessageUploadQueueTable, OAuthTable, UserSignatureTable, ApplicationPasswordTable, ModuleGroupTable, UserAuthCodeTable, UserDeviceLoginTable, UserDeviceTable, UserHitAuthTable, UserPasswordTable, UserStoredAuthTable, ParametersTable, EventLogTable, LogNotificationActionTable, LogNotificationTable, FileDuplicateTable, FileHashTable, FileVersionTable, CultureTable, LanguageTable, EventTypeTable, GeonameTable, SiteTable, TemplateTable, AuthorTable, BookTable, PublisherTable, StoreBookTable, StoreTable, EntityUsageTable, FilePreviewTable, UserTable, UserFieldTable, PrototypeItemDataManager, TypeDataManager, UserFieldLangTable, UserPhoneAuthTable, UserProfileHistoryTable, IncomingMessageTable, MessageTable, RestAppTable, WatchTable, OwnerEntityTable, StorageTable, PlacementLangTable, CashboxTable, CashboxCheckTable, CashboxConnectTable, CashboxZReportTable, Check2CashboxTable, CheckRelatedEntitiesTable, KkmModelTable, DeliveryRestHandlerTable, RelatedDataTable, B24integrationTokenTable, CashboxRestHandlerTable, LocalDeliveryRequestTable, OrderProcessingTable, OrderPropsTable, OrderPropsGroupTable, OrderPropsValueTable, OrderPropsVariantTable, PayableItemTable, PaymentPaySystemAvailableTable, PaySystemActionTable, ReliabilityTable, ShipmentItemTable, SynchronizerLogTable, UserGroupRestrictionTable, UserPropsTable, UserPropsValueTable, UserTransactTable, YandexSettingsTable, BasketReservationHistoryTable, BasketReservationTable, FileTable, TemplateTable, LogTable, LogCommentTable, LogSiteTable, UserLinkTable, FileDiffTable, FileIndexTable, PathIndexTable, PathLangTable, PathTreeTable, PhraseIndexTable, AccessTable, GroupTable, ItemTable, ItemToFileTable и RecentlyUsedTable.
См. определение в файле datamanager.php строка 292
|
static |
Returns class of Object for current entity.
Переопределяется в DebuggerSessionDocumentTable, DebuggerSessionTable, DebuggerSessionTemplateShardsTable, DebuggerSessionWorkflowContextTable, IblockTable, ElementV1Table, ElementV2Table, PropertyTable, MailboxDirectoryTable, UserSignatureTable, CultureTable, TemplateTable, BookTable, B24integrationTokenTable, ReliabilityTable, FileDiffTable, FileIndexTable, PathIndexTable и PhraseIndexTable.
См. определение в файле datamanager.php строка 133
|
staticprotected |
См. определение в файле datamanager.php строка 154
|
staticfinal |
Returns class name (without namespace) of Object for current entity.
См. определение в файле datamanager.php строка 148
|
static |
Переопределяется в ElementV1Table, ElementV2Table, ValueStorageTable и TypeDataManager.
См. определение в файле datamanager.php строка 209
|
static |
Переопределяется в CommonElementTable.
См. определение в файле datamanager.php строка 225
|
static |
Returns one row (or null) by parameters for getList()
array | $parameters | Primary key of the entity |
Main |
ArgumentException
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 410
|
static |
Returns one row (or null) by entity's primary key
mixed | $id | Primary key of the entity |
Main |
ArgumentException
Main |
ObjectPropertyException
Main |
SystemException
См. определение в файле datamanager.php строка 392
|
static |
Returns DB table name for entity
Переопределяется в ButtonSiteTable, DebuggerSessionDocumentTable, DebuggerSessionTable, DebuggerSessionTemplateShardsTable, DebuggerSessionWorkflowContextTable, TrackingTable, ActivityStorageTable, WorkflowInstanceTable, WorkflowStateTable, GlobalConstTable, GlobalVarTable, AccessTable, EventConnectionTable, MembershipHandlerQueryTable, QueueHandledMessageTable, QueueMessageTable, RoomCategoryTable, SectionConnectionTable, SharingLinkTable, CatalogIblockTable, ContractorTable, DiscountEntityTable, ExtraTable, GroupTable, GroupAccessTable, PriceTable, ProductTable, ProductCompilationTable, StoreBarcodeTable, StoreDocumentBarcodeTable, StoreDocumentElementTable, StoreDocumentFileTable, StoreDocumentTable, StoreProductTable, VatTable, FileSaveTable, UserTopicTable, ElementTable, IblockTable, CommonElementTable, PropertyFeatureTable, PropertyTable, SectionTable, TypeTable, NoRelationPermissionDiskTable, OptionAccessTable, OptionGroupTable, OptionStateTable, OptionUserTable, AddressFieldTable, AddressLinkTable, AddressTable, AreaTable, LocationFieldTable, LocationNameTable, LocationTable, SourceTable, DomainEmailTable, MailboxAccessTable, MailboxDirectoryTable, MailContactTable, MailCounterTable, MailEntityOptionsTable, MailMessageAttachmentTable, MessageAccessTable, MessageClosureTable, MessageDeleteQueueTable, MessageUploadQueueTable, OAuthTable, UserSignatureTable, ApplicationPasswordTable, ModuleGroupTable, UserAuthCodeTable, UserDeviceLoginTable, UserDeviceTable, UserHitAuthTable, UserPasswordTable, UserStoredAuthTable, ParametersTable, EventLogTable, LogNotificationActionTable, LogNotificationTable, FileDuplicateTable, FileHashTable, FileVersionTable, CultureTable, LanguageTable, EventTypeTable, GeonameTable, SiteTable, TemplateTable, AuthorTable, BookTable, PublisherTable, StoreBookTable, StoreTable, EntityUsageTable, FilePreviewTable, UserTable, UserFieldLangTable, UserPhoneAuthTable, UserProfileHistoryTable, IncomingMessageTable, MessageTable, RestAppTable, WatchTable, OwnerEntityTable, StorageTable, PlacementLangTable, CashboxTable, CashboxCheckTable, CashboxConnectTable, CashboxZReportTable, Check2CashboxTable, CheckRelatedEntitiesTable, KkmModelTable, DeliveryRestHandlerTable, RelatedDataTable, B24integrationTokenTable, CashboxRestHandlerTable, LocalDeliveryRequestTable, OrderProcessingTable, OrderPropsTable, OrderPropsGroupTable, OrderPropsValueTable, OrderPropsVariantTable, PayableItemTable, PaymentPaySystemAvailableTable, PaySystemActionTable, ReliabilityTable, ShipmentItemTable, SynchronizerLogTable, UserGroupRestrictionTable, UserPropsTable, UserPropsValueTable, UserTransactTable, YandexSettingsTable, BasketReservationHistoryTable, BasketReservationTable, FileTable, TemplateTable, LogTable, LogCommentTable, LogSiteTable, UserLinkTable, FileDiffTable, FileIndexTable, PathIndexTable, PathLangTable, PathTreeTable, PhraseIndexTable, AccessTable, GroupTable, ItemTable, ItemToFileTable и RecentlyUsedTable.
См. определение в файле datamanager.php строка 105
|
static |
См. определение в файле datamanager.php строка 123
|
static |
Переопределяется в ProductTable, BookTable, UserTable, LogTable и LogCommentTable.
См. определение в файле datamanager.php строка 297
|
static |
См. определение в файле datamanager.php строка 307
|
static |
См. определение в файле datamanager.php строка 302
|
static |
См. определение в файле datamanager.php строка 1973
|
static |
Переопределяется в IblockTable, PrototypeItemDataManager и TypeDataManager.
См. определение в файле datamanager.php строка 1974
|
static |
Переопределяется в IblockTable, SectionTable и TypeDataManager.
См. определение в файле datamanager.php строка 1980
|
static |
Переопределяется в IblockTable, PrototypeItemDataManager и TypeDataManager.
См. определение в файле datamanager.php строка 1977
|
static |
Переопределяется в OptionGroupTable, PrototypeItemDataManager и OrderPropsTable.
См. определение в файле datamanager.php строка 1972
|
static |
Переопределяется в PrototypeItemDataManager и TypeDataManager.
См. определение в файле datamanager.php строка 1978
|
static |
Переопределяется в GlobalConstTable, GlobalVarTable, OptionGroupTable, PrototypeItemDataManager, TypeDataManager и OrderPropsTable.
См. определение в файле datamanager.php строка 1975
|
static |
Переопределяется в SectionTable и FilePreviewTable.
См. определение в файле datamanager.php строка 1979
|
static |
См. определение в файле datamanager.php строка 1976
|
static |
|
static |
Creates and returns the Query object for the entity
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 559
|
staticprotected |
array | $data |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 572
|
static |
EntityObject | $object |
См. определение в файле datamanager.php строка 1955
|
static |
Query | $query |
Переопределяется в CommonElementTable.
См. определение в файле datamanager.php строка 317
|
static |
См. определение в файле datamanager.php строка 90
|
static |
Updates row in entity table by primary key
mixed | $primary | |
array | $data | An 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. |
Exception
mixed | $primary | |
array | $data |
Main |
ArgumentException
Main |
Db\SqlQueryException
Main |
SystemException
Переопределяется в WorkflowInstanceTable, WorkflowStateTable, ElementTable, CultureTable, UserTable и UserFieldTable.
См. определение в файле datamanager.php строка 1241
|
staticprotected |
$primary |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 641
|
staticfinal |
$rows |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 283
|
staticfinal |
$row |
Main |
ArgumentException
Main |
SystemException
См. определение в файле datamanager.php строка 269
|
staticprotected |
См. определение в файле datamanager.php строка 51
|
staticprotected |
См. определение в файле datamanager.php строка 54
|
staticprotected |
См. определение в файле datamanager.php строка 45
|
staticprotected |
См. определение в файле datamanager.php строка 48
|
staticprotected |
См. определение в файле datamanager.php строка 57
const EVENT_ON_ADD = "OnAdd" |
См. определение в файле datamanager.php строка 35
const EVENT_ON_AFTER_ADD = "OnAfterAdd" |
См. определение в файле datamanager.php строка 36
const EVENT_ON_AFTER_DELETE = "OnAfterDelete" |
См. определение в файле datamanager.php строка 42
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate" |
См. определение в файле datamanager.php строка 39
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd" |
См. определение в файле datamanager.php строка 34
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete" |
См. определение в файле datamanager.php строка 40
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate" |
См. определение в файле datamanager.php строка 37
const EVENT_ON_DELETE = "OnDelete" |
См. определение в файле datamanager.php строка 41
const EVENT_ON_UPDATE = "OnUpdate" |
См. определение в файле datamanager.php строка 38