Bitrix API

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

$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'

$matchSchedule

public bool $matchSchedule = false

$matchWorkTime

public bool $matchWorkTime = true

$notifyAtHalfTime

public bool $notifyAtHalfTime = false

$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

$plannedCompletionTime

public int $plannedCompletionTime
Attributes
#[Max]
2145398400
#[Min]
\Bitrix\Tasks\Flow\Configuration::MIN_PLANNED_COMPLETION_TIME
#[Required]

$responsibleCanChangeDeadline

public bool $responsibleCanChangeDeadline = true

$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
false

hasValidCreatorId()

public hasValidCreatorId() : bool
Return values
bool

hasValidGroupId()

public hasValidGroupId() : bool
Return values
bool

hasValidOwnerId()

public hasValidOwnerId() : bool
Return values
bool

setActive()

public setActive(bool $active) : self
Parameters
$active : bool
Return values
self

setCreatorId()

public setCreatorId(int $creatorId) : self
Parameters
$creatorId : int
Return values
self

setDemo()

public setDemo(bool $demo) : self
Parameters
$demo : bool
Return values
self

setDescription()

public setDescription(string $description) : self
Parameters
$description : string
Return values
self

setDistributionType()

public setDistributionType(string $distributionType) : self
Parameters
$distributionType : string
Return values
self

setEfficiency()

public setEfficiency(int $efficiency) : self
Parameters
$efficiency : int
Return values
self

setGroupId()

public setGroupId(int $groupId) : self
Parameters
$groupId : int
Return values
self

setName()

public setName(string $name) : self
Parameters
$name : string
Return values
self

setNotifyAtHalfTime()

public setNotifyAtHalfTime(bool $notifyAtHalfTime) : self
Parameters
$notifyAtHalfTime : bool
Return values
self

setNotifyOnQueueOverflow()

public setNotifyOnQueueOverflow(int $notifyOnQueueOverflow) : self
Parameters
$notifyOnQueueOverflow : int
Return values
self

setNotifyOnTasksInProgressOverflow()

public setNotifyOnTasksInProgressOverflow(int $notifyOnTasksInProgressOverflow) : self
Parameters
$notifyOnTasksInProgressOverflow : int
Return values
self

setNotifyWhenEfficiencyDecreases()

public setNotifyWhenEfficiencyDecreases(int $notifyWhenEfficiencyDecreases) : self
Parameters
$notifyWhenEfficiencyDecreases : int
Return values
self

setOwnerId()

public setOwnerId(int $ownerId) : self
Parameters
$ownerId : int
Return values
self

setPlannedCompletionTime()

public setPlannedCompletionTime(int $plannedCompletionTime) : self
Parameters
$plannedCompletionTime : int
Return values
self

setResponsibleList()

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

setTaskControl()

public setTaskControl(bool $taskControl) : self
Parameters
$taskControl : bool
Return values
self

setTaskCreators()

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

setTemplateId()

public setTemplateId(int $templateId) : self
Parameters
$templateId : int
Return values
self

        
On this page

Search results