См. определение в файле template.php строка 21
◆ __construct()
__construct |
( |
array |
$documentType, |
|
|
|
$documentStatus = null |
|
) |
| |
Template constructor.
- Аргументы
-
array | $documentType | |
null | $documentStatus | |
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле template.php строка 47
◆ addBizprocTemplate()
addBizprocTemplate |
( |
|
$userId | ) |
|
|
protected |
◆ convertTemplate()
◆ createByTpl()
static createByTpl |
( |
Tpl |
$tpl | ) |
|
|
static |
◆ deleteRobots()
deleteRobots |
( |
array |
$robots, |
|
|
int |
$userId |
|
) |
| |
◆ getActivities()
- Возвращает
- array Template activities.
См. определение в файле template.php строка 765
◆ getAvailableRobotClasses()
static getAvailableRobotClasses |
( |
array |
$documentType | ) |
|
|
staticprotected |
◆ getAvailableRobots()
static getAvailableRobots |
( |
array |
$documentType | ) |
|
|
static |
◆ getDocumentStatus()
◆ getDocumentType()
◆ getExecuteType()
getExecuteType |
( |
|
$autoExecuteType | ) |
|
◆ getId()
◆ getModified()
◆ getParameters()
◆ getProperty()
getProperty |
( |
|
$object, |
|
|
|
$field |
|
) |
| |
◆ getRobotByName()
getRobotByName |
( |
string |
$name | ) |
|
Returns Robot by it`s id.
- Аргументы
-
string | $name | Robot identificator. |
- Возвращает
- Robot|null Robot instance.
См. определение в файле template.php строка 740
◆ getRobots()
- Возвращает
- Robot[] Robot activities.
См. определение в файле template.php строка 727
◆ getRobotsByNames()
getRobotsByNames |
( |
array |
$names | ) |
|
◆ getRobotSettingsDialog()
getRobotSettingsDialog |
( |
array |
$robot, |
|
|
|
$request = null |
|
) |
| |
◆ isExternalModified()
Checks is template was modified by external editor.
- Возвращает
- bool
См. определение в файле template.php строка 779
◆ isRobot()
isRobot |
( |
array |
$activity | ) |
|
|
protected |
◆ makeTemplateName()
◆ save()
save |
( |
array |
$robots, |
|
|
|
$userId, |
|
|
array |
$additional = [] |
|
) |
| |
◆ saveRobotSettings()
saveRobotSettings |
( |
array |
$robot, |
|
|
array |
$request |
|
) |
| |
◆ setDocumentStatus()
setDocumentStatus |
( |
|
$status | ) |
|
◆ setExecuteType()
setExecuteType |
( |
|
$autoExecuteType | ) |
|
◆ setName()
◆ setRobots()
setRobots |
( |
array |
$robots | ) |
|
◆ toArray()
Convert instance data to array.
- Возвращает
- array
См. определение в файле template.php строка 294
◆ unConvertTemplate()
◆ updateBizprocTemplate()
updateBizprocTemplate |
( |
|
$id, |
|
|
|
$userId |
|
) |
| |
|
protected |
◆ $autoExecuteType
$autoExecuteType = \CBPDocumentEventType::Automation |
|
protected |
◆ $availableActivities
$availableActivities = [] |
|
staticprotected |
◆ $availableActivityClasses
$availableActivityClasses = [] |
|
staticprotected |
◆ $conditionActivityType
$conditionActivityType = 'IfElseActivity' |
|
staticprotected |
◆ $delayActivityType
string $delayActivityType = 'DelayActivity' |
|
staticprotected |
◆ $isConverted
◆ $isExternalModified
◆ $parallelActivityType
$parallelActivityType = 'ParallelActivity' |
|
staticprotected |
◆ $robotDelayActivityType
$robotDelayActivityType = 'RobotDelayActivity' |
|
staticprotected |
◆ $robots
◆ $sequenceActivityType
$sequenceActivityType = 'SequenceActivity' |
|
staticprotected |
◆ $template