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;
}