Bitrix API

Task

Class Task

Table of Contents

Methods

getLastCommentTime()  : false|DateTime
getNewCommentsCountForTasks()  : array<string|int, mixed>
isCommentNew()  : bool

Methods

getLastCommentTime()

public static getLastCommentTime(int $taskId) : false|DateTime
Parameters
$taskId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
false|DateTime

getNewCommentsCountForTasks()

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

isCommentNew()

public static isCommentNew(int $taskId, int $userId, int $commentId) : bool
Parameters
$taskId : int
$userId : int
$commentId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
bool

        
On this page

Search results