Bitrix24\Task\CommentItem::getList PHP Method

getList() public method

Returns the list of comments to a task.
See also: http://www.bitrixsoft.com/rest_help/tasks/task/commentitem/getlist.php
public getList ( $taskId, $order, $filter ) : array
$taskId integer
$order array
$filter array
return array
    public function getList($taskId, $order, $filter)
    {
        $result = $this->client->call('task.commentitem.getmanifest', array('TASKID' => $taskId, 'ORDER' => $order, 'FILTER' => $filter));
        return $result;
    }