Task extends Manager
FinalYes
Table of Contents
Constants
- UF_PREFIX = 'UF_'
Methods
- add() : mixed
- convertFromItem() : mixed
- extendData() : mixed
- get() : mixed
- getCount() : mixed
- getFullRights() : mixed
- getList() : mixed
- makeItem() : mixed
- mergeData() : mixed
- normalizeData() : mixed
- prepareSearchIndex() : array<string|int, mixed>|string
- update() : mixed
Constants
UF_PREFIX
public
mixed
UF_PREFIX
= 'UF_'
Methods
add()
public
static add(int $userId, array<string|int, mixed> $data[, array<string|int, mixed> $parameters = array('PUBLIC_MODE' => false, 'RETURN_ENTITY' => false) ]) : mixed
Parameters
- $userId : int
- $data : array<string|int, mixed>
- $parameters : array<string|int, mixed> = array('PUBLIC_MODE' => false, 'RETURN_ENTITY' => false)
-
- PUBLIC_MODE
- SOURCE
- TYPE (TEMPLATE or TASK)
- ID
convertFromItem()
public
static convertFromItem(mixed $item) : mixed
Parameters
- $item : mixed
extendData()
public
static extendData(mixed &$data[, array<string|int, mixed> $references = array() ][, int $userId = 0 ]) : mixed
Parameters
- $data : mixed
- $references : array<string|int, mixed> = array()
- $userId : int = 0
get()
public
static get(mixed $userId, mixed $taskId[, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $userId : mixed
- $taskId : mixed
- $parameters : array<string|int, mixed> = array()
getCount()
public
static getCount([array<string|int, mixed> $filter = array() ][, array<string|int, mixed> $params = array() ]) : mixed
Parameters
- $filter : array<string|int, mixed> = array()
- $params : array<string|int, mixed> = array()
getFullRights()
public
static getFullRights(mixed $userId) : mixed
Parameters
- $userId : mixed
getList()
public
static getList(mixed $userId[, array<string|int, mixed> $listParameters = [] ][, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
- $userId : mixed
- $listParameters : array<string|int, mixed> = []
- $parameters : array<string|int, mixed> = []
Tags
makeItem()
public
static makeItem(mixed $data[, mixed $userId = 0 ]) : mixed
Parameters
- $data : mixed
- $userId : mixed = 0
mergeData()
public
static mergeData([mixed $primary = [] ][, mixed $secondary = [] ][, bool $withAddition = true ]) : mixed
Parameters
- $primary : mixed = []
- $secondary : mixed = []
- $withAddition : bool = true
normalizeData()
public
static normalizeData(mixed $data) : mixed
Parameters
- $data : mixed
prepareSearchIndex()
public
static prepareSearchIndex(array<string|int, mixed> $task[, array<string|int, mixed> $fields = [] ]) : array<string|int, mixed>|string
Parameters
- $task : array<string|int, mixed>
- $fields : array<string|int, mixed> = []
Return values
array<string|int, mixed>|stringupdate()
public
static update(mixed $userId, mixed $taskId, array<string|int, mixed> $data[, array<string|int, mixed> $parameters = array('PUBLIC_MODE' => false, 'RETURN_ENTITY' => false) ]) : mixed
Parameters
- $userId : mixed
- $taskId : mixed
- $data : array<string|int, mixed>
- $parameters : array<string|int, mixed> = array('PUBLIC_MODE' => false, 'RETURN_ENTITY' => false)