RightTable extends DataManager
FinalYes
Class RightTable
Fields:
- ID int mandatory
- OBJECT_ID int mandatory
- TASK_ID int mandatory
- ACCESS_CODE string(50) optional
- DOMAIN string(50) optional
- NEGATIVE int 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_Right_Collection
- createObject() : EO_Right
- deleteByFilter() : bool
- Deletes rows by filter.
- getById() : EO_Right_Result
- getByPrimary() : EO_Right_Result
- getEntity() : EO_Right_Entity
- getList() : EO_Right_Result
- getMap() : mixed
- Returns entity map definition return array
- getTableName() : string
- Returns DB table name for entity
- merge() : mixed
- query() : EO_Right_Query
- Creates and returns the Query object for the entity
- validateAccessCode() : array<string|int, mixed>
- Validates access code field.
- validateDomain() : array<string|int, mixed>
- Validates domain field.
- wakeUpCollection() : EO_Right_Collection
- wakeUpObject() : EO_Right
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_Right_Collection
Return values
EO_Right_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Right
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_RightdeleteByFilter()
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_Right_Result
Parameters
- $id : mixed
Return values
EO_Right_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Right_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Right_ResultgetEntity()
public
static getEntity() : EO_Right_Entity
Return values
EO_Right_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Right_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Right_ResultgetMap()
Returns entity map definition return array
public
static getMap() : 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_Right_Query
Return values
EO_Right_QueryvalidateAccessCode()
Validates access code field.
public
static validateAccessCode() : array<string|int, mixed>
Return values
array<string|int, mixed>validateDomain()
Validates domain field.
public
static validateDomain() : array<string|int, mixed>
Return values
array<string|int, mixed>wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Right_Collection
Parameters
- $rows : mixed
Return values
EO_Right_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Right
Parameters
- $row : mixed