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 |