AttachedObjectTable extends DataManager
FinalYes
Class AttachedObjectTable
Fields:
- ID int mandatory
- OBJECT_ID int mandatory
- VERSION_ID int optional
- IS_EDITABLE int optional
- ALLOW_EDIT int optional
- ALLOW_AUTO_COMMENT int optional
- MODULE_ID string(32) optional
- ENTITY_TYPE string(100) optional
- ENTITY_ID int optional
- CREATE_TIME datetime mandatory
- CREATED_BY int
Table of Contents
Constants
- MAX_LENGTH_BATCH_MYSQL_QUERY = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
Methods
- className() : string
- createCollection() : EO_AttachedObject_Collection
- createObject() : EO_AttachedObject
- deleteByFilter() : bool
- Deletes rows by filter.
- getById() : EO_AttachedObject_Result
- getByPrimary() : EO_AttachedObject_Result
- getEntity() : EO_AttachedObject_Entity
- getList() : EO_AttachedObject_Result
- getMap() : mixed
- getTableName() : mixed
- merge() : mixed
- query() : EO_AttachedObject_Query
- Creates and returns the Query object for the entity
- updateBatch() : mixed
- Updates rows by filter (simple format).
- validateEntityType() : mixed
- validateModule() : mixed
- wakeUpCollection() : EO_AttachedObject_Collection
- wakeUpObject() : EO_AttachedObject
Constants
MAX_LENGTH_BATCH_MYSQL_QUERY
public
mixed
MAX_LENGTH_BATCH_MYSQL_QUERY
= \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
Methods
className()
public
static className() : string
Return values
string —the fully qualified name of this class.
createCollection()
public
static createCollection() : EO_AttachedObject_Collection
Return values
EO_AttachedObject_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_AttachedObject
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_AttachedObjectdeleteByFilter()
Deletes rows by filter.
public
static deleteByFilter(array<string|int, mixed> $filter) : bool
Parameters
- $filter : array<string|int, mixed>
-
Filter
Tags
Return values
boolgetById()
public
static getById(mixed $id) : EO_AttachedObject_Result
Parameters
- $id : mixed
Return values
EO_AttachedObject_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_AttachedObject_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_AttachedObject_ResultgetEntity()
public
static getEntity() : EO_AttachedObject_Entity
Return values
EO_AttachedObject_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_AttachedObject_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_AttachedObject_ResultgetMap()
public
static getMap() : mixed
getTableName()
public
static getTableName() : mixed
merge()
public
static merge(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
query()
Creates and returns the Query object for the entity
public
static query() : EO_AttachedObject_Query
Return values
EO_AttachedObject_QueryupdateBatch()
Updates rows by filter (simple format).
public
static updateBatch(array<string|int, mixed> $fields, array<string|int, mixed> $filter) : mixed
Filter support only column = value. Only =.
Parameters
- $fields : array<string|int, mixed>
-
Fields.
- $filter : array<string|int, mixed>
-
Filter.
validateEntityType()
public
static validateEntityType() : mixed
validateModule()
public
static validateModule() : mixed
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_AttachedObject_Collection
Parameters
- $rows : mixed
Return values
EO_AttachedObject_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_AttachedObject
Parameters
- $row : mixed