Bitrix API

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_Collection

createObject()

public static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Sorting
Parameters
$setDefaultValues : mixed = = 'true'
Return values
EO_Sorting

deleteByTaskId()

Deletes the task from the sorting tree

public static deleteByTaskId(mixed $taskId) : mixed
Parameters
$taskId : mixed
Tags
throws
ArgumentException
throws
SqlQueryException
throws
ObjectPropertyException
throws
SystemException

deleteList()

public static deleteList(array<string|int, mixed> $filter) : Result
Parameters
$filter : array<string|int, mixed>
Tags
throws
ArgumentException
throws
SqlQueryException
throws
SystemException
Return values
Result

fixSiblingsEx()

The same as deleteByTaskId but without deletion itself

public static fixSiblingsEx(mixed $taskId) : mixed
Parameters
$taskId : mixed
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

getById()

public static getById(mixed $id) : EO_Sorting_Result
Parameters
$id : mixed
Return values
EO_Sorting_Result

getByPrimary()

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_Result

getClass()

public static getClass() : string
Return values
string

getEntity()

public static getEntity() : EO_Sorting_Entity
Return values
EO_Sorting_Entity

getList()

public static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Sorting_Result
Parameters
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Sorting_Result

getMap()

public static getMap() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

getTableName()

public static getTableName() : string
Tags
inheritdoc
Return values
string

insertBatch()

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_Query

setSorting()

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
throws
SqlQueryException
throws
ObjectPropertyException
throws
TasksException
throws
ArgumentException
throws
SystemException

wakeUpCollection()

public static wakeUpCollection(mixed $rows) : EO_Sorting_Collection
Parameters
$rows : mixed
Return values
EO_Sorting_Collection

wakeUpObject()

public static wakeUpObject(mixed $row) : EO_Sorting
Parameters
$row : mixed
Return values
EO_Sorting

        
On this page

Search results