Task extends Item
FinalYes
Class Task
Table of Contents
Properties
- $title : string
Methods
- checkData() : mixed
- complete() : $this
- getAccessControllerClass() : mixed
- getDataSourceClass() : mixed
- getDuration() : mixed
- getFieldsDescription() : mixed
- getShortPreview() : mixed
- getUserFieldControllerClass() : mixed
- prepareData() : mixed
- processEnterBatchMode() : mixed
- processLeaveBatchMode() : mixed
- save() : mixed
- touch() : $this
- Set task change time to the specified value
- transformToTask() : Result
- Creates new virtual (not presented in database) instance of \Bitrix\Tasks\Item\Task based on data from $this
- transformToTemplate() : Result
- Creates new virtual (not presented in database) instance of \Bitrix\Tasks\Item\Task\Template based on data from $this
Properties
$title
public
string
$title
Methods
checkData()
public
checkData(mixed $result) : mixed
Parameters
- $result : mixed
complete()
public
complete([array<string|int, mixed> $params = array() ]) : $this
Parameters
- $params : array<string|int, mixed> = array()
Tags
Return values
$thisgetAccessControllerClass()
public
static getAccessControllerClass() : mixed
getDataSourceClass()
public
static getDataSourceClass() : mixed
getDuration()
public
getDuration([mixed $start = null ][, mixed $end = null ][, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $start : mixed = null
- $end : mixed = null
- $parameters : array<string|int, mixed> = array()
getFieldsDescription()
public
static getFieldsDescription() : mixed
getShortPreview()
public
getShortPreview() : mixed
getUserFieldControllerClass()
public
static getUserFieldControllerClass() : mixed
prepareData()
public
prepareData(mixed $result) : mixed
Parameters
- $result : mixed
processEnterBatchMode()
public
static processEnterBatchMode(Trigger $state) : mixed
Parameters
- $state : Trigger
processLeaveBatchMode()
public
static processLeaveBatchMode(Trigger $state) : mixed
Parameters
- $state : Trigger
save()
public
save([mixed $settings = array() ]) : mixed
Parameters
- $settings : mixed = array()
Tags
touch()
Set task change time to the specified value
public
touch([null $time = null ]) : $this
Parameters
- $time : null = null
Return values
$thistransformToTask()
Creates new virtual (not presented in database) instance of \Bitrix\Tasks\Item\Task based on data from $this
public
transformToTask() : Result
Return values
ResulttransformToTemplate()
Creates new virtual (not presented in database) instance of \Bitrix\Tasks\Item\Task\Template based on data from $this
public
transformToTemplate() : Result