Метод getWorkflowTemplatesForDocumentType

public static

Сигнатура метода

public static function getWorkflowTemplatesForDocumentType($documentType, $showSystemTemplates = true)

Описание

Method returns array of workflow templates for specified document type. Return array example: array( array( "ID" => workflow_id, "NAME" => template_name, "DESCRIPTION" => template_description, "MODIFIED" => modified datetime, "USER_ID" => modified by user id, "USER_NAME" => modified by user name, "AUTO_EXECUTE" => flag CBPDocumentEventType, "AUTO_EXECUTE_TEXT" => auto_execute_text, ), . . . )

Параметры

2
Имя Тип По умолчанию Флаги
$documentType — —
—
$showSystemTemplates — true
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/classes/general/document.php
Расположение метода в файле
Строки 1403–1460

Исходный код

PHP