AddDemoCommand extends AddCommand
FinalYes
Table of Contents
Properties
- $active : bool
- $activity : DateTime
- $creatorId : int
- $demo : bool
- $departmentResponsibleList : array<string|int, mixed>|null
- $departmentTaskCreators : array<string|int, mixed>
- $description : string
- $distributionType : string|null
- $efficiency : int
- $groupId : int
- $matchSchedule : bool
- $matchWorkTime : bool
- $name : string
- $notifyAtHalfTime : bool
- $notifyOnQueueOverflow : int|null
- $notifyOnTasksInProgressOverflow : int|null
- $notifyWhenEfficiencyDecreases : int|null
- $notifyWhenTaskNotTaken : bool
- $ownerId : int
- $plannedCompletionTime : int
- $responsibleCanChangeDeadline : bool
- $responsibleList : array<string|int, mixed>
- $taskControl : bool
- $taskCreators : array<string|int, mixed>
- $templateId : int
- $userResponsibleList : array<string|int, mixed>|null
- $userTaskCreators : array<string|int, mixed>
Methods
- hasId() : false
- hasValidCreatorId() : bool
- hasValidGroupId() : bool
- hasValidOwnerId() : bool
- setActive() : self
- setCreatorId() : self
- setDemo() : self
- setDescription() : self
- setDistributionType() : self
- setEfficiency() : self
- setGroupId() : self
- setName() : self
- setNotifyAtHalfTime() : self
- setNotifyOnQueueOverflow() : self
- setNotifyOnTasksInProgressOverflow() : self
- setNotifyWhenEfficiencyDecreases() : self
- setOwnerId() : self
- setPlannedCompletionTime() : self
- setResponsibleList() : self
- setTaskControl() : self
- setTaskCreators() : self
- setTemplateId() : self
Properties
$active
public
bool
$active
= true
$activity
public
DateTime
$activity
Attributes
- #[Instantiable]
$creatorId
public
int
$creatorId
Attributes
- #[Required]
- #[User]
$demo
public
bool
$demo
= false
$departmentResponsibleList
public
array<string|int, mixed>|null
$departmentResponsibleList
= null
Attributes
- #[Department]
- #[Nullable]
- #[Parse]
- new \Bitrix\Tasks\Internals\Attribute\Parse\DepartmentFromAccess()
- 'responsibleList'
$departmentTaskCreators
public
array<string|int, mixed>
$departmentTaskCreators
Attributes
- #[Department]
- #[Nullable]
- #[Parse]
- new \Bitrix\Tasks\Internals\Attribute\Parse\DepartmentFromAccess()
- 'taskCreators'
$description
public
string
$description
= ''
$distributionType
public
string|null
$distributionType
= null
Attributes
- #[Required]
$efficiency
public
int
$efficiency
= 100
Attributes
- #[Max]
- 100
- #[Min]
- 0
$groupId
public
int
$groupId
Attributes
- #[Min]
- 0
- #[Project]
- #[Required]
$matchSchedule
public
bool
$matchSchedule
= false
$matchWorkTime
public
bool
$matchWorkTime
= true
$name
public
string
$name
Attributes
- #[Length]
- 1
- \Bitrix\Tasks\Flow\Configuration::MAX_NAME_LENGTH
- #[Required]
$notifyAtHalfTime
public
bool
$notifyAtHalfTime
= false
$notifyOnQueueOverflow
public
int|null
$notifyOnQueueOverflow
= null
Attributes
- #[Max]
- 99999
- #[Min]
- 0
- #[Nullable]
$notifyOnTasksInProgressOverflow
public
int|null
$notifyOnTasksInProgressOverflow
= null
Attributes
- #[Max]
- 99999
- #[Min]
- 0
- #[Nullable]
$notifyWhenEfficiencyDecreases
public
int|null
$notifyWhenEfficiencyDecreases
= null
Attributes
- #[Max]
- 100
- #[Min]
- 0
- #[Nullable]
$notifyWhenTaskNotTaken
public
bool
$notifyWhenTaskNotTaken
= true
$ownerId
public
int
$ownerId
Attributes
- #[Required]
- #[User]
$plannedCompletionTime
public
int
$plannedCompletionTime
Attributes
- #[Max]
- 2145398400
- #[Min]
- \Bitrix\Tasks\Flow\Configuration::MIN_PLANNED_COMPLETION_TIME
- #[Required]
$responsibleCanChangeDeadline
public
bool
$responsibleCanChangeDeadline
= true
$responsibleList
public
array<string|int, mixed>
$responsibleList
Attributes
- #[AccessCodes]
- #[NotEmpty]
- #[Required]
$taskControl
public
bool
$taskControl
= false
$taskCreators
public
array<string|int, mixed>
$taskCreators
Attributes
- #[AccessCodes]
- #[Required]
$templateId
public
int
$templateId
= 0
Attributes
- #[Min]
- 0
- #[Template]
$userResponsibleList
public
array<string|int, mixed>|null
$userResponsibleList
= null
Attributes
- #[Nullable]
- #[Parse]
- new \Bitrix\Tasks\Internals\Attribute\Parse\UserFromAccess()
- 'responsibleList'
- #[User]
$userTaskCreators
public
array<string|int, mixed>
$userTaskCreators
Attributes
- #[Nullable]
- #[Parse]
- new \Bitrix\Tasks\Internals\Attribute\Parse\UserFromAccess()
- 'taskCreators'
- #[User]
Methods
hasId()
public
hasId() : false
Return values
falsehasValidCreatorId()
public
hasValidCreatorId() : bool
Return values
boolhasValidGroupId()
public
hasValidGroupId() : bool
Return values
boolhasValidOwnerId()
public
hasValidOwnerId() : bool
Return values
boolsetActive()
public
setActive(bool $active) : self
Parameters
- $active : bool
Return values
selfsetCreatorId()
public
setCreatorId(int $creatorId) : self
Parameters
- $creatorId : int
Return values
selfsetDemo()
public
setDemo(bool $demo) : self
Parameters
- $demo : bool
Return values
selfsetDescription()
public
setDescription(string $description) : self
Parameters
- $description : string
Return values
selfsetDistributionType()
public
setDistributionType(string $distributionType) : self
Parameters
- $distributionType : string
Return values
selfsetEfficiency()
public
setEfficiency(int $efficiency) : self
Parameters
- $efficiency : int
Return values
selfsetGroupId()
public
setGroupId(int $groupId) : self
Parameters
- $groupId : int
Return values
selfsetName()
public
setName(string $name) : self
Parameters
- $name : string
Return values
selfsetNotifyAtHalfTime()
public
setNotifyAtHalfTime(bool $notifyAtHalfTime) : self
Parameters
- $notifyAtHalfTime : bool
Return values
selfsetNotifyOnQueueOverflow()
public
setNotifyOnQueueOverflow(int $notifyOnQueueOverflow) : self
Parameters
- $notifyOnQueueOverflow : int
Return values
selfsetNotifyOnTasksInProgressOverflow()
public
setNotifyOnTasksInProgressOverflow(int $notifyOnTasksInProgressOverflow) : self
Parameters
- $notifyOnTasksInProgressOverflow : int
Return values
selfsetNotifyWhenEfficiencyDecreases()
public
setNotifyWhenEfficiencyDecreases(int $notifyWhenEfficiencyDecreases) : self
Parameters
- $notifyWhenEfficiencyDecreases : int
Return values
selfsetOwnerId()
public
setOwnerId(int $ownerId) : self
Parameters
- $ownerId : int
Return values
selfsetPlannedCompletionTime()
public
setPlannedCompletionTime(int $plannedCompletionTime) : self
Parameters
- $plannedCompletionTime : int
Return values
selfsetResponsibleList()
public
setResponsibleList(array<string|int, mixed> $responsibleList) : self
Parameters
- $responsibleList : array<string|int, mixed>
Return values
selfsetTaskControl()
public
setTaskControl(bool $taskControl) : self
Parameters
- $taskControl : bool
Return values
selfsetTaskCreators()
public
setTaskCreators(array<string|int, mixed> $taskCreators) : self
Parameters
- $taskCreators : array<string|int, mixed>
Return values
selfsetTemplateId()
public
setTemplateId(int $templateId) : self
Parameters
- $templateId : int