public function getAllowedActions($taskId) { $result = $this->client->call('task.item.getallowedactions', array($taskId)); return $result; }