Bitrix API

Flow implements Arrayable

Table of Contents

Interfaces

Arrayable

Constants

DEFAULT_DISTRIBUTION_TYPE  = \Bitrix\Tasks\Flow\Distribution\FlowDistributionType::QUEUE

Methods

__construct()  : mixed
canResponsibleChangeDeadline()  : bool
getAccessController()  : SimpleFlowAccessController
getActivityDate()  : DateTime
getComment()  : FlowCommentInterface
getCreatorId()  : int|null
getDistributionType()  : FlowDistributionType
getEfficiency()  : int
getGroupId()  : int
getId()  : int
getMatchSchedule()  : bool
getMatchWorkTime()  : bool
getName()  : string
getOwnerId()  : int|null
getPlannedCompletionTime()  : int
getResponsibleCanChangeDeadline()  : bool
getTargetEfficiency()  : int
getTaskControl()  : bool
getTemplateId()  : int
isActive()  : bool
isDemo()  : bool
isHimself()  : bool
isManually()  : bool
isQueue()  : bool
setId()  : self
setOptions()  : self
setResponsibleList()  : self
setTaskCreators()  : static
setTeam()  : self
setTrialFeatureEnabled()  : void
toArray()  : array<string|int, mixed>

Constants

DEFAULT_DISTRIBUTION_TYPE

public mixed DEFAULT_DISTRIBUTION_TYPE = \Bitrix\Tasks\Flow\Distribution\FlowDistributionType::QUEUE

Methods

__construct()

public __construct(mixed $data) : mixed
Parameters
$data : mixed

array [ 'ID' => ?int, 'OWNER_ID' => int, 'GROUP_ID' => int, 'TEMPLATE_ID' => ?int, 'ACTIVE' => ?int, 'PLANNED_COMPLETION_TIME' => ?int, 'ACTIVITY' => ?\Bitrix\Main\Type\DateTime(), 'NAME' => string, 'DESCRIPTION' => ?string, 'DISTRIBUTION_TYPE' => string, ]

canResponsibleChangeDeadline()

public canResponsibleChangeDeadline() : bool
Return values
bool

getCreatorId()

public getCreatorId() : int|null
Return values
int|null

getEfficiency()

public getEfficiency() : int
Return values
int

getGroupId()

public getGroupId() : int
Return values
int

getId()

public getId() : int
Return values
int

getMatchSchedule()

public getMatchSchedule() : bool
Return values
bool

getMatchWorkTime()

public getMatchWorkTime() : bool
Return values
bool

getName()

public getName() : string
Return values
string

getOwnerId()

public getOwnerId() : int|null
Return values
int|null

getPlannedCompletionTime()

public getPlannedCompletionTime() : int
Return values
int

getResponsibleCanChangeDeadline()

public getResponsibleCanChangeDeadline() : bool
Return values
bool

getTargetEfficiency()

public getTargetEfficiency() : int
Return values
int

getTaskControl()

public getTaskControl() : bool
Return values
bool

getTemplateId()

public getTemplateId() : int
Return values
int

isActive()

public isActive() : bool
Return values
bool

isDemo()

public isDemo() : bool
Return values
bool

isHimself()

public isHimself() : bool
Return values
bool

isManually()

public isManually() : bool
Return values
bool

isQueue()

public isQueue() : bool
Return values
bool

setId()

public setId(int $id) : self
Parameters
$id : int
Return values
self

setOptions()

public setOptions(array<string|int, Option$options) : self
Parameters
$options : array<string|int, Option>
Return values
self

setResponsibleList()

public setResponsibleList(array<string|int, mixed> $responsibleList) : self
Parameters
$responsibleList : array<string|int, mixed>
Return values
self

setTaskCreators()

public setTaskCreators(array<string|int, mixed> $taskCreators) : static
Parameters
$taskCreators : array<string|int, mixed>
Return values
static

setTeam()

public setTeam(array<string|int, mixed> $team) : self
Parameters
$team : array<string|int, mixed>
Return values
self

setTrialFeatureEnabled()

public setTrialFeatureEnabled(bool $trialFeatureEnabled) : void
Parameters
$trialFeatureEnabled : bool

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results