StorageTable extends DataManager
FinalYes
Class StorageTable
Fields:
- ID int mandatory
- NAME string(100) optional
- CODE string(32) optional
- XML_ID string(50) optional
- MODULE_ID string(32) mandatory
- ENTITY_TYPE string(100) mandatory
- ENTITY_ID string(12) mandatory
- ENTITY_MISC_DATA text optional
- ROOT_OBJECT_ID int
- USE_INTERNAL_RIGHTS int
- SITE_ID 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_Storage_Collection
- createObject() : EO_Storage
- deleteByFilter() : bool
- Deletes rows by filter.
- getById() : EO_Storage_Result
- getByPrimary() : EO_Storage_Result
- getEntity() : EO_Storage_Entity
- getList() : EO_Storage_Result
- getMap() : mixed
- getTableName() : mixed
- merge() : mixed
- query() : EO_Storage_Query
- Creates and returns the Query object for the entity
- validateCode() : mixed
- validateEntityId() : mixed
- validateEntityType() : mixed
- validateModule() : mixed
- validateName() : mixed
- validateSiteId() : mixed
- validateXmlId() : mixed
- wakeUpCollection() : EO_Storage_Collection
- wakeUpObject() : EO_Storage
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_Storage_Collection
Return values
EO_Storage_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Storage
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_StoragedeleteByFilter()
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_Storage_Result
Parameters
- $id : mixed
Return values
EO_Storage_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Storage_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Storage_ResultgetEntity()
public
static getEntity() : EO_Storage_Entity
Return values
EO_Storage_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Storage_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Storage_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_Storage_Query
Return values
EO_Storage_QueryvalidateCode()
public
static validateCode() : mixed
validateEntityId()
public
static validateEntityId() : mixed
validateEntityType()
public
static validateEntityType() : mixed
validateModule()
public
static validateModule() : mixed
validateName()
public
static validateName() : mixed
validateSiteId()
public
static validateSiteId() : mixed
validateXmlId()
public
static validateXmlId() : mixed
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Storage_Collection
Parameters
- $rows : mixed
Return values
EO_Storage_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Storage
Parameters
- $row : mixed