Bitrix24\Task\Item::getAllowedActions PHP Method

getAllowedActions() public method

Return array of allowed task actions IDs (see PHP class constants CTaskItem).
public getAllowedActions ( $taskId ) : array
$taskId integer Task ID.
return array
    public function getAllowedActions($taskId)
    {
        $result = $this->client->call('task.item.getallowedactions', array($taskId));
        return $result;
    }