Flow implements Arrayable
Table of Contents
Interfaces
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
boolgetAccessController()
public
getAccessController(int $userId) : SimpleFlowAccessController
Parameters
- $userId : int
Return values
SimpleFlowAccessControllergetActivityDate()
public
getActivityDate() : DateTime
Return values
DateTimegetComment()
public
getComment(CommentEvent $event, int $taskId) : FlowCommentInterface
Parameters
- $event : CommentEvent
- $taskId : int
Return values
FlowCommentInterfacegetCreatorId()
public
getCreatorId() : int|null
Return values
int|nullgetDistributionType()
public
getDistributionType() : FlowDistributionType
Return values
FlowDistributionTypegetEfficiency()
public
getEfficiency() : int
Return values
intgetGroupId()
public
getGroupId() : int
Return values
intgetId()
public
getId() : int
Return values
intgetMatchSchedule()
public
getMatchSchedule() : bool
Return values
boolgetMatchWorkTime()
public
getMatchWorkTime() : bool
Return values
boolgetName()
public
getName() : string
Return values
stringgetOwnerId()
public
getOwnerId() : int|null
Return values
int|nullgetPlannedCompletionTime()
public
getPlannedCompletionTime() : int
Return values
intgetResponsibleCanChangeDeadline()
public
getResponsibleCanChangeDeadline() : bool
Return values
boolgetTargetEfficiency()
public
getTargetEfficiency() : int
Return values
intgetTaskControl()
public
getTaskControl() : bool
Return values
boolgetTemplateId()
public
getTemplateId() : int
Return values
intisActive()
public
isActive() : bool
Return values
boolisDemo()
public
isDemo() : bool
Return values
boolisHimself()
public
isHimself() : bool
Return values
boolisManually()
public
isManually() : bool
Return values
boolisQueue()
public
isQueue() : bool
Return values
boolsetId()
public
setId(int $id) : self
Parameters
- $id : int
Return values
selfsetOptions()
public
setOptions(array<string|int, Option> $options) : self
Parameters
- $options : array<string|int, Option>
Return values
selfsetResponsibleList()
public
setResponsibleList(array<string|int, mixed> $responsibleList) : self
Parameters
- $responsibleList : array<string|int, mixed>
Return values
selfsetTaskCreators()
public
setTaskCreators(array<string|int, mixed> $taskCreators) : static
Parameters
- $taskCreators : array<string|int, mixed>
Return values
staticsetTeam()
public
setTeam(array<string|int, mixed> $team) : self
Parameters
- $team : array<string|int, mixed>
Return values
selfsetTrialFeatureEnabled()
public
setTrialFeatureEnabled(bool $trialFeatureEnabled) : void
Parameters
- $trialFeatureEnabled : bool
toArray()
public
toArray() : array<string|int, mixed>