Метод validateProperties

public static

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

public static function validateProperties($arTestProperties = [], CBPWorkflowTemplateUser $user = null): array

Возвращает: array

Описание

The one point every entry into a template passes: the transport of the designer, an import, REST and the AI converter alike ({@see CBPWorkflowTemplateLoader::validateTemplate()}). Only a value that cannot work at all is refused here - an empty one and one that resolves into no document type - because a template carrying a node nobody touched has to stay savable even when the process of that node has been deleted, moved between the presets or is not the saving user's to author. The scope of the preset and the authoring right belong to the moment a process is picked, and are applied on the interactive path alone: {@see self::validateDialogProperties()} on the way out of the settings dialog and {@see self::resolveCategoryOptions()} on the point that resends the funnels.

Параметры

2
Имя Тип По умолчанию Флаги
$arTestProperties — []
—
$user CBPWorkflowTemplateUser null
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/install/activities/bitrix/crmsmartmanualstarttrigger/crmsmartmanualstarttrigger.php
Расположение метода в файле
Строки 346–362

Исходный код

PHP