ObjectTtlTable extends DataManager
FinalYes
Class ObjectTtlTable
Fields:
- ID int mandatory
- OBJECT_ID int mandatory
- CREATE_TIME datetime mandatory
- DEATH_TIME datetime mandatory
Table of Contents
Constants
- MAX_LENGTH_BATCH_MYSQL_QUERY = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
Methods
- className() : string
- createCollection() : EO_ObjectTtl_Collection
- createObject() : EO_ObjectTtl
- deleteByFilter() : bool
- Deletes rows by filter.
- getById() : EO_ObjectTtl_Result
- getByPrimary() : EO_ObjectTtl_Result
- getEntity() : EO_ObjectTtl_Entity
- getList() : EO_ObjectTtl_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition
- getTableName() : string
- Returns DB table name for entity
- merge() : mixed
- query() : EO_ObjectTtl_Query
- Creates and returns the Query object for the entity
- wakeUpCollection() : EO_ObjectTtl_Collection
- wakeUpObject() : EO_ObjectTtl
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_ObjectTtl_Collection
Return values
EO_ObjectTtl_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_ObjectTtl
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_ObjectTtldeleteByFilter()
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_ObjectTtl_Result
Parameters
- $id : mixed
Return values
EO_ObjectTtl_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_ObjectTtl_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_ObjectTtl_ResultgetEntity()
public
static getEntity() : EO_ObjectTtl_Entity
Return values
EO_ObjectTtl_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_ObjectTtl_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_ObjectTtl_ResultgetMap()
Returns entity map definition
public
static getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getTableName()
Returns DB table name for entity
public
static getTableName() : string
Return values
stringmerge()
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_ObjectTtl_Query
Return values
EO_ObjectTtl_QuerywakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_ObjectTtl_Collection
Parameters
- $rows : mixed
Return values
EO_ObjectTtl_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_ObjectTtl
Parameters
- $row : mixed