Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс Runtime

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

 setTarget (BaseTarget $target)
 
 getTarget ()
 
 getCurrentWorkflowId ()
 
 onDocumentAdd (?Context $context=null)
 
 onDocumentStatusChanged ()
 
 runDocumentStatus (string $preGeneratedWorkflowId=null)
 
 onDocumentMove ()
 
 onFieldsChanged (array $changes)
 

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

 getWorkflowInstanceIds ()
 
 runTemplates ($documentStatus, string $preGeneratedWorkflowId=null)
 
 writeTriggerTracking ($workflowId, $trigger)
 
 writeTriggerAnalytics (array $documentId, array $trigger)
 
 stopTemplates ()
 
 isDebug (bool $isOnDocumentAdd=false)
 
 onDocumentStatusChangedDebug (?string $workflowId, string $status)
 

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

 $target
 

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

static $startedTemplates = []
 

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

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

Методы

◆ getCurrentWorkflowId()

getCurrentWorkflowId ( )

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

◆ getTarget()

getTarget ( )
Возвращает
BaseTarget
Исключения
InvalidOperationException

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

◆ getWorkflowInstanceIds()

getWorkflowInstanceIds ( )
protected

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

◆ isDebug()

isDebug ( bool  $isOnDocumentAdd = false)
protected

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

◆ onDocumentAdd()

onDocumentAdd ( ?Context  $context = null)

Document creation handler.

Возвращает
void
Исключения
InvalidOperationException

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

◆ onDocumentMove()

onDocumentMove ( )

Document moving handler.

Возвращает
void

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

◆ onDocumentStatusChanged()

onDocumentStatusChanged ( )

Document status changed handler.

Возвращает
void
Исключения
InvalidOperationException

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

◆ onDocumentStatusChangedDebug()

onDocumentStatusChangedDebug ( ?string  $workflowId,
string  $status 
)
protected

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

◆ onFieldsChanged()

onFieldsChanged ( array  $changes)

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

◆ runDocumentStatus()

runDocumentStatus ( string  $preGeneratedWorkflowId = null)

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

◆ runTemplates()

runTemplates (   $documentStatus,
string  $preGeneratedWorkflowId = null 
)
protected

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

◆ setTarget()

setTarget ( BaseTarget  $target)

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

◆ stopTemplates()

stopTemplates ( )
protected

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

◆ writeTriggerAnalytics()

writeTriggerAnalytics ( array  $documentId,
array  $trigger 
)
protected

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

◆ writeTriggerTracking()

writeTriggerTracking (   $workflowId,
  $trigger 
)
protected

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

Данные класса

◆ $startedTemplates

$startedTemplates = []
staticprotected

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

◆ $target

$target
protected

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