Task
Table of Contents
Methods
-
__construct()
: mixed
-
add()
: TaskObject
-
delete()
: bool
-
fromAgent()
: self
-
fromWorkFlow()
: self
-
getLegacyOperationResultData()
: array<string|int, mixed>|null
-
setByPassParams()
: self
-
setEventGuid()
: self
-
skipBP()
: self
-
skipDeadlineTimeZone()
: static
-
update()
: TaskObject|bool
-
withAutoClose()
: self
-
withCloneAttachments()
: self
-
withCorrectDatePlan()
: self
-
withCorrectDatePlanDependent()
: self
-
withFilesRights()
: self
-
withSkipComments()
: self
-
withSkipExchangeSync()
: self
-
withSkipNotifications()
: self
-
withSkipPush()
: self
-
withSkipRecount()
: self
__construct()
public
__construct(int $userId) : mixed
Parameters
-
$userId
: int
-
add()
public
add(array<string|int, mixed> $fields) : TaskObject
Parameters
-
$fields
: array<string|int, mixed>
-
-
throws
-
TaskAddException
-
throws
-
TaskNotFoundException
-
throws
-
ArgumentException
-
throws
-
SqlQueryException
-
throws
-
LoaderException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
CTaskAssertException
-
throws
-
Exception
delete()
public
delete(int $taskId) : bool
Parameters
-
$taskId
: int
-
-
throws
-
ArgumentException
-
throws
-
SqlQueryException
-
throws
-
LoaderException
-
throws
-
NotImplementedException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
CTaskAssertException
-
throws
-
Exception
fromAgent()
public
fromAgent() : self
fromWorkFlow()
public
fromWorkFlow() : self
getLegacyOperationResultData()
public
getLegacyOperationResultData() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
setByPassParams()
public
setByPassParams(array<string|int, mixed> $params) : self
Parameters
-
$params
: array<string|int, mixed>
-
setEventGuid()
public
setEventGuid(string $guid) : self
Parameters
-
$guid
: string
-
skipBP()
public
skipBP() : self
skipDeadlineTimeZone()
public
skipDeadlineTimeZone() : static
update()
public
update(int $taskId, array<string|int, mixed> $fields) : TaskObject|bool
Parameters
-
$taskId
: int
-
-
$fields
: array<string|int, mixed>
-
-
throws
-
TaskNotFoundException
-
throws
-
TaskUpdateException
-
throws
-
ArgumentException
-
throws
-
SqlQueryException
-
throws
-
LoaderException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ResultNotFoundException
-
throws
-
CTaskAssertException
-
throws
-
Exception
withAutoClose()
public
withAutoClose() : self
withCloneAttachments()
public
withCloneAttachments() : self
withCorrectDatePlan()
public
withCorrectDatePlan() : self
withCorrectDatePlanDependent()
public
withCorrectDatePlanDependent() : self
withFilesRights()
public
withFilesRights() : self
public
withSkipComments() : self
withSkipExchangeSync()
public
withSkipExchangeSync() : self
withSkipNotifications()
public
withSkipNotifications() : self
withSkipPush()
public
withSkipPush() : self
withSkipRecount()
public
withSkipRecount() : self