Bitrix24\Task\Item::getDescription PHP Метод

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

Return task description.
public getDescription ( $taskId, $format ) : array
$taskId integer Task ID.
$format integer 1 (Corresponds to the PHP constant CTaskItem::DESCR_FORMAT_RAW) � description will be returned in the format it is stored in the database (HTML or BB-code), will not be sanitized; 2 (Corresponds to the PHP constant CTaskItem::DESCR_FORMAT_HTML) � description will be returned in HTML, will first be sanitized (if included in task module settings); 3 (Corresponds to the PHP constant CTaskItem::DESCR_FORMAT_PLAIN_TEXT) � description will be returned as plain text (no HTML tags).
Результат array
    public function getDescription($taskId, $format)
    {
        $result = $this->client->call('task.item.getdescription', $taskId, $format);
        return $result;
    }