1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Template

Открытые члены

 __construct (array $documentType, $documentStatus=null)
 deleteRobots (array $robots, int $userId)
 getDocumentStatus ()
 setDocumentStatus ($status)
 getTemplate ()
 setTemplate (array $template)
 setName (string $name)
 getExecuteType ($autoExecuteType)
 setExecuteType ($autoExecuteType)
 getId ()
 getParameters ()
 getRobotSettingsDialog (array $robot, $request=null, ?array $contextRobots=null)
 saveRobotSettings (array $robot, array $request)
 save (array $robots, $userId, array $additional=[])
 setRobots (array $robots)
 toArray ()
 getRobots ()
 getActivatedRobots ()
 getRobotByName (string $name)
 getRobotsByNames (array $names)
 getActivities ()
 getModified ()
 isExternalModified ()
 getDocumentType ()
 getProperty ($object, $field)

Открытые статические члены

static createByTpl (Tpl $tpl)
static getAvailableRobots (array $documentType)

Защищенные члены

 addBizprocTemplate ($userId)
 makeTemplateName ()
 updateBizprocTemplate ($id, $userId)
 convertTemplate ()
 unConvertTemplate ()
 isRobot (array $activity)

Защищенные статические члены

static getAvailableRobotClasses (array $documentType)

Защищенные данные

 $template
 $autoExecuteType = \CBPDocumentEventType::Automation
 $robots
 $isExternalModified
 $isConverted = false

Статические защищенные данные

static $parallelActivityType = 'ParallelActivity'
static $sequenceActivityType = 'SequenceActivity'
static $delayActivityType = 'DelayActivity'
static $robotDelayActivityType = 'RobotDelayActivity'
static $conditionActivityType = 'IfElseActivity'
static $availableActivities = []
static $availableActivityClasses = []

Подробное описание

См. определение в файле template.php строка 21

Конструктор(ы)

◆ __construct()

__construct ( array $documentType,
$documentStatus = null )

Template constructor.

Аргументы
array$documentType
null$documentStatus
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле template.php строка 48

Методы

◆ addBizprocTemplate()

addBizprocTemplate ( $userId)
protected

См. определение в файле template.php строка 376

◆ convertTemplate()

convertTemplate ( )
protected

См. определение в файле template.php строка 584

◆ createByTpl()

createByTpl ( Tpl $tpl)
static

См. определение в файле template.php строка 101

◆ deleteRobots()

deleteRobots ( array $robots,
int $userId )

См. определение в файле template.php строка 110

◆ getActivatedRobots()

getActivatedRobots ( )

См. определение в файле template.php строка 840

◆ getActivities()

getActivities ( )
Возвращает
array Template activities.

См. определение в файле template.php строка 890

◆ getAvailableRobotClasses()

getAvailableRobotClasses ( array $documentType)
staticprotected

См. определение в файле template.php строка 361

◆ getAvailableRobots()

getAvailableRobots ( array $documentType)
static

См. определение в файле template.php строка 350

◆ getDocumentStatus()

getDocumentStatus ( )

См. определение в файле template.php строка 121

◆ getDocumentType()

getDocumentType ( )

См. определение в файле template.php строка 912

◆ getExecuteType()

getExecuteType ( $autoExecuteType)

См. определение в файле template.php строка 150

◆ getId()

getId ( )

См. определение в файле template.php строка 165

◆ getModified()

getModified ( )

См. определение в файле template.php строка 895

◆ getParameters()

getParameters ( )

См. определение в файле template.php строка 170

◆ getProperty()

getProperty ( $object,
$field )

См. определение в файле template.php строка 917

◆ getRobotByName()

getRobotByName ( string $name)

Returns Robot by it`s id.

Аргументы
string$nameRobot identificator.
Возвращает
Robot|null Robot instance.

См. определение в файле template.php строка 864

◆ getRobots()

getRobots ( )
Возвращает
Robot[] Robot activities.

См. определение в файле template.php строка 830

◆ getRobotsByNames()

getRobotsByNames ( array $names)

См. определение в файле template.php строка 877

◆ getRobotSettingsDialog()

getRobotSettingsDialog ( array $robot,
$request = null,
?array $contextRobots = null )

См. определение в файле template.php строка 175

◆ getTemplate()

getTemplate ( )

См. определение в файле template.php строка 132

◆ isExternalModified()

isExternalModified ( )

Checks is template was modified by external editor.

Возвращает
bool

См. определение в файле template.php строка 904

◆ isRobot()

isRobot ( array $activity)
protected

См. определение в файле template.php строка 792

◆ makeTemplateName()

makeTemplateName ( )
protected

См. определение в файле template.php строка 408

◆ save()

save ( array $robots,
$userId,
array $additional = [] )

См. определение в файле template.php строка 261

◆ saveRobotSettings()

saveRobotSettings ( array $robot,
array $request )

См. определение в файле template.php строка 206

◆ setDocumentStatus()

setDocumentStatus ( $status)

См. определение в файле template.php строка 126

◆ setExecuteType()

setExecuteType ( $autoExecuteType)

См. определение в файле template.php строка 155

◆ setName()

setName ( string $name)

См. определение в файле template.php строка 144

◆ setRobots()

setRobots ( array $robots)

См. определение в файле template.php строка 302

◆ setTemplate()

setTemplate ( array $template)

См. определение в файле template.php строка 137

◆ toArray()

toArray ( )

Convert instance data to array.

Возвращает
array

См. определение в файле template.php строка 328

◆ unConvertTemplate()

unConvertTemplate ( )
protected

См. определение в файле template.php строка 700

◆ updateBizprocTemplate()

updateBizprocTemplate ( $id,
$userId )
protected

См. определение в файле template.php строка 553

Поля

◆ $autoExecuteType

$autoExecuteType = \CBPDocumentEventType::Automation
protected

См. определение в файле template.php строка 33

◆ $availableActivities

$availableActivities = []
staticprotected

См. определение в файле template.php строка 29

◆ $availableActivityClasses

$availableActivityClasses = []
staticprotected

См. определение в файле template.php строка 30

◆ $conditionActivityType

$conditionActivityType = 'IfElseActivity'
staticprotected

См. определение в файле template.php строка 28

◆ $delayActivityType

$delayActivityType = 'DelayActivity'
staticprotected

См. определение в файле template.php строка 26

◆ $isConverted

$isConverted = false
protected

См. определение в файле template.php строка 37

◆ $isExternalModified

$isExternalModified
protected

См. определение в файле template.php строка 36

◆ $parallelActivityType

$parallelActivityType = 'ParallelActivity'
staticprotected

См. определение в файле template.php строка 23

◆ $robotDelayActivityType

$robotDelayActivityType = 'RobotDelayActivity'
staticprotected

См. определение в файле template.php строка 27

◆ $robots

$robots
protected

См. определение в файле template.php строка 35

◆ $sequenceActivityType

$sequenceActivityType = 'SequenceActivity'
staticprotected

См. определение в файле template.php строка 24

◆ $template

$template
protected

См. определение в файле template.php строка 32


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/bizproc/lib/automation/engine/template.php