Bitrix24\Task\CommentItem::isActionAllowed PHP Метод

isActionAllowed() публичный Метод

Checks if the action is permitted.
См. также: http://www.bitrixsoft.com/rest_help/tasks/task/checklistitem/isactionallowed.php
public isActionAllowed ( $taskId, $commentItemId, $actionId ) : array
$taskId integer Task identifier. Required parameter.
$commentItemId integer Comment identifier. Required parameter.
$actionId integer Identifier of the action to be checked: 1 - ACTION_COMMENT_ADD; 2 - ACTION_COMMENT_MODIFY; 3 - ACTION_COMMENT_REMOVE. Required parameter.
Результат array
    public function isActionAllowed($taskId, $commentItemId, $actionId)
    {
        $result = $this->client->call('task.commentitem.isactionallowed', array($taskId, $commentItemId, $actionId));
        return $result;
    }