Bitrix API

Task

Class Task

Table of Contents

Methods

getByUserIdAndOption()  : array<string|int, mixed>
onTaskAdd()  : void
Handles mute option on task add.
onTaskUpdate()  : void
Handles mute option on task update.

Methods

getByUserIdAndOption()

public static getByUserIdAndOption(int $userId, int $option) : array<string|int, mixed>
Parameters
$userId : int
$option : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

onTaskAdd()

Handles mute option on task add.

public static onTaskAdd(array<string|int, mixed> $fields) : void
Parameters
$fields : array<string|int, mixed>
  • task data
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

onTaskUpdate()

Handles mute option on task update.

public static onTaskUpdate(array<string|int, mixed> $oldFields, array<string|int, mixed> $newFields) : void
Parameters
$oldFields : array<string|int, mixed>
  • task data before update
$newFields : array<string|int, mixed>
  • task data after update
Tags
throws
ArgumentException
throws
SqlQueryException
throws
ObjectPropertyException
throws
SystemException

        
On this page

Search results