SortingTable extends TaskDataManager
Class SortingTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION
Table of Contents
Constants
- MAX_LENGTH_BATCH_MYSQL_QUERY = 2048
- MAX_PAGE_TOP = 50
- MIN_SORT_DELTA = 5.0E-5
- SORT_INDEX_INCREMENT = 1024
Methods
- createCollection() : EO_Sorting_Collection
- createObject() : EO_Sorting
- deleteByTaskId() : mixed
- Deletes the task from the sorting tree
- deleteList() : Result
- fixSiblingsEx() : mixed
- The same as deleteByTaskId but without deletion itself
- getById() : EO_Sorting_Result
- getByPrimary() : EO_Sorting_Result
- getClass() : string
- getEntity() : EO_Sorting_Entity
- getList() : EO_Sorting_Result
- getMap() : array<string|int, mixed>
- getTableName() : string
- insertBatch() : void
- Adds rows to the table.
- insertIgnore() : void
- query() : EO_Sorting_Query
- setSorting() : mixed
- Sets sorting for the task.
- wakeUpCollection() : EO_Sorting_Collection
- wakeUpObject() : EO_Sorting
Constants
MAX_LENGTH_BATCH_MYSQL_QUERY
public
mixed
MAX_LENGTH_BATCH_MYSQL_QUERY
= 2048
MAX_PAGE_TOP
public
mixed
MAX_PAGE_TOP
= 50
MIN_SORT_DELTA
public
mixed
MIN_SORT_DELTA
= 5.0E-5
SORT_INDEX_INCREMENT
public
mixed
SORT_INDEX_INCREMENT
= 1024
Methods
createCollection()
public
static createCollection() : EO_Sorting_Collection
Return values
EO_Sorting_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Sorting
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_SortingdeleteByTaskId()
Deletes the task from the sorting tree
public
static deleteByTaskId(mixed $taskId) : mixed
Parameters
- $taskId : mixed
Tags
deleteList()
public
static deleteList(array<string|int, mixed> $filter) : Result
Parameters
- $filter : array<string|int, mixed>
Tags
Return values
ResultfixSiblingsEx()
The same as deleteByTaskId but without deletion itself
public
static fixSiblingsEx(mixed $taskId) : mixed
Parameters
- $taskId : mixed
Tags
getById()
public
static getById(mixed $id) : EO_Sorting_Result
Parameters
- $id : mixed
Return values
EO_Sorting_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Sorting_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Sorting_ResultgetClass()
public
static getClass() : string
Return values
stringgetEntity()
public
static getEntity() : EO_Sorting_Entity
Return values
EO_Sorting_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Sorting_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Sorting_ResultgetMap()
public
static getMap() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getTableName()
public
static getTableName() : string
Tags
Return values
stringinsertBatch()
Adds rows to the table.
public
static insertBatch(array<string|int, mixed> $items[, bool $ignore = false ]) : void
Parameters
- $items : array<string|int, mixed>
-
Items.
- $ignore : bool = false
insertIgnore()
public
static insertIgnore(array<string|int, mixed> $fields) : void
Parameters
- $fields : array<string|int, mixed>
query()
public
static query() : EO_Sorting_Query
Return values
EO_Sorting_QuerysetSorting()
Sets sorting for the task.
public
static setSorting(mixed $userId, mixed $groupId, mixed $sourceId, mixed $targetId, mixed $before) : mixed
Parameters
- $userId : mixed
- $groupId : mixed
- $sourceId : mixed
- $targetId : mixed
- $before : mixed
Tags
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Sorting_Collection
Parameters
- $rows : mixed
Return values
EO_Sorting_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Sorting
Parameters
- $row : mixed