VolumeTable extends DataManager
FinalYes
Class VolumeTable
Fields:
- ID int mandatory
- INDICATOR_TYPE string(255) mandatory
- OWNER_ID int mandatory
- CREATE_TIME datetime optional
- TITLE string(255) optional
- FILE_SIZE float optional
- FILE_COUNT float optional
- VERSION_COUNT float optional
- PREVIEW_SIZE float optional
- PREVIEW_COUNT float optional
- ATTACHED_COUNT float optional
- LINK_COUNT float optional
- SHARING_COUNT float optional
- UNNECESSARY_VERSION_SIZE float optional
- UNNECESSARY_VERSION_COUNT float optional
- STORAGE_ID int optional
- MODULE_ID int optional
- FOLDER_ID int optional
- PARENT_ID int optional
- USER_ID int optional
- GROUP_ID int optional
- TYPE_FILE int optional
- ENTITY_TYPE string(100) optional
- ENTITY_ID string(12) optional
- IBLOCK_ID int optional
- DATA_PREPARED int optional
- COLLECTED int optional
- DATA text optional
- AGENT_LOCK int optional
- DROP_UNNECESSARY_VERSION int optional
- DROP_TRASHCAN int optional
- DROP_FOLDER int optional
- EMPTY_FOLDER int optional
- DROPPED_FILE_COUNT float optional
- DROPPED_VERSION_COUNT float optional
- DROPPED_FOLDER_COUNT float optional
- LAST_FILE_ID int optional
- FAIL_COUNT int optional
- LAST_ERROR string(255) optional
Table of Contents
Constants
- MAX_LENGTH_BATCH_MYSQL_QUERY = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
Methods
- checkTemporally() : bool
- Checks data base structure
- className() : string
- clearTemporally() : void
- Removes all data
- createCollection() : EO_Volume_Collection
- createObject() : EO_Volume
- createTemporally() : void
- Creates database structure
- deleteByFilter() : bool
- Deletes rows by filter.
- dropTemporally() : void
- Drops Temporally table
- getById() : EO_Volume_Result
- getByPrimary() : EO_Volume_Result
- getEntity() : EO_Volume_Entity
- getList() : EO_Volume_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : string
- Returns DB table name for entity
- getTemporallyName() : string
- Returns temporally table name.
- merge() : mixed
- purify() : void
- Removes all data
- query() : EO_Volume_Query
- Creates and returns the Query object for the entity
- wakeUpCollection() : EO_Volume_Collection
- wakeUpObject() : EO_Volume
Constants
MAX_LENGTH_BATCH_MYSQL_QUERY
public
mixed
MAX_LENGTH_BATCH_MYSQL_QUERY
= \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
Methods
checkTemporally()
Checks data base structure
public
static checkTemporally() : bool
Return values
boolclassName()
public
static className() : string
Return values
string —the fully qualified name of this class.
clearTemporally()
Removes all data
public
static clearTemporally() : void
createCollection()
public
static createCollection() : EO_Volume_Collection
Return values
EO_Volume_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Volume
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_VolumecreateTemporally()
Creates database structure
public
static createTemporally() : void
deleteByFilter()
Deletes rows by filter.
public
static deleteByFilter(array<string|int, mixed> $filter) : bool
Parameters
- $filter : array<string|int, mixed>
-
Filter
Tags
Return values
booldropTemporally()
Drops Temporally table
public
static dropTemporally() : void
getById()
public
static getById(mixed $id) : EO_Volume_Result
Parameters
- $id : mixed
Return values
EO_Volume_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Volume_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Volume_ResultgetEntity()
public
static getEntity() : EO_Volume_Entity
Return values
EO_Volume_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Volume_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Volume_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
stringgetTemporallyName()
Returns temporally table name.
public
static getTemporallyName() : string
Return values
stringmerge()
public
static merge(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
purify()
Removes all data
public
static purify() : void
query()
Creates and returns the Query object for the entity
public
static query() : EO_Volume_Query
Return values
EO_Volume_QuerywakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Volume_Collection
Parameters
- $rows : mixed
Return values
EO_Volume_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Volume
Parameters
- $row : mixed