RightSetupSessionTable extends DataManager
FinalYes
Class RightSetupSessionTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION
Table of Contents
Constants
- LIFETIME_SECONDS = 300
- In 5 minutes we decide to restart setup session and try again.
- MAX_LENGTH_BATCH_MYSQL_QUERY = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
- STATUS_BAD = 5
- STATUS_BAD_PURIFIED = 7
- STATUS_DUPLICATE = 6
- STATUS_FINISHED = 3
- STATUS_FORKED = 4
- STATUS_STARTED = 2
Methods
- className() : string
- createCollection() : EO_RightSetupSession_Collection
- createObject() : EO_RightSetupSession
- deleteByFilter() : bool
- Deletes rows by filter.
- getById() : EO_RightSetupSession_Result
- getByPrimary() : EO_RightSetupSession_Result
- getEntity() : EO_RightSetupSession_Entity
- getList() : EO_RightSetupSession_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : string
- Returns DB table name for entity.
- markAsBad() : void
- Marks as bad sessions which were calculated without success many times and deletes tmp simple rights by these sessions.
- merge() : mixed
- query() : EO_RightSetupSession_Query
- Creates and returns the Query object for the entity
- wakeUpCollection() : EO_RightSetupSession_Collection
- wakeUpObject() : EO_RightSetupSession
Constants
LIFETIME_SECONDS
In 5 minutes we decide to restart setup session and try again.
public
mixed
LIFETIME_SECONDS
= 300
MAX_LENGTH_BATCH_MYSQL_QUERY
public
mixed
MAX_LENGTH_BATCH_MYSQL_QUERY
= \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY
STATUS_BAD
public
mixed
STATUS_BAD
= 5
STATUS_BAD_PURIFIED
public
mixed
STATUS_BAD_PURIFIED
= 7
STATUS_DUPLICATE
public
mixed
STATUS_DUPLICATE
= 6
STATUS_FINISHED
public
mixed
STATUS_FINISHED
= 3
STATUS_FORKED
public
mixed
STATUS_FORKED
= 4
STATUS_STARTED
public
mixed
STATUS_STARTED
= 2
Methods
className()
public
static className() : string
Return values
string —the fully qualified name of this class.
createCollection()
public
static createCollection() : EO_RightSetupSession_Collection
Return values
EO_RightSetupSession_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_RightSetupSession
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_RightSetupSessiondeleteByFilter()
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_RightSetupSession_Result
Parameters
- $id : mixed
Return values
EO_RightSetupSession_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_RightSetupSession_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_RightSetupSession_ResultgetEntity()
public
static getEntity() : EO_RightSetupSession_Entity
Return values
EO_RightSetupSession_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_RightSetupSession_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_RightSetupSession_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
stringmarkAsBad()
Marks as bad sessions which were calculated without success many times and deletes tmp simple rights by these sessions.
public
static markAsBad() : void
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_RightSetupSession_Query
Return values
EO_RightSetupSession_QuerywakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_RightSetupSession_Collection
Parameters
- $rows : mixed
Return values
EO_RightSetupSession_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_RightSetupSession
Parameters
- $row : mixed