1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CBPRestActivity
Граф наследования:CBPRestActivity:
CBPActivity IBPEventActivity IBPActivityExternalEventListener IBPActivityDebugEventListener

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

 __construct ($name)
 subscribe (IBPActivityExternalEventListener $eventHandler)
 unsubscribe (IBPActivityExternalEventListener $eventHandler)
 onDebugEvent (array $eventParameters=[])
 cancel ()
Открытые члены унаследованные от CBPActivity
 getDocumentId ()
 setDocumentId ($documentId)
 setDocumentType (array $documentType)
 getDocumentEventType ()
 getWorkflowStatus ()
 setWorkflowStatus ($status)
 setFieldTypes (array $arFieldTypes=[])
 getWorkflowTemplateId ()
 getTemplateUserId ()
 getPropertyBaseType ($propertyName)
 getTemplatePropertyType ($propertyName)
 setProperties ($arProperties=array())
 setPropertiesTypes ($arPropertiesTypes=array())
 getPropertyType ($propertyName)
 getVariableBaseType ($variableName)
 setVariables ($variables=[])
 setVariablesTypes ($arVariablesTypes=array())
 setVariable ($name, $value)
 getVariable ($name)
 getVariableType ($name)
 getConstant ($name)
 getConstantType ($name)
 isVariableExists ($name)
 getName ()
 getRootActivity ()
 setWorkflow (CBPWorkflow $workflow)
 unsetWorkflow ()
 getWorkflowInstanceId ()
 addStatusTitle ($title='')
 deleteStatusTitle ($title='')
 getRuntimeProperty ($object, $field, CBPActivity $ownerActivity)
 parseValue ($value, $convertToType=null, ?callable $decorator=null)
 __get ($name)
 __isset ($name)
 pullProperties ()
 __set ($name, $val)
 isPropertyExists ($name)
 collectNestedActivities ()
 collectUsages ()
 collectPropertyUsages ($propertyName)
 toString ()
 initialize ()
 finalize ()
 execute ()
 handleFault (Exception $exception)
 fixUpParentChildRelationship (CBPActivity $nestedActivity)
 addStatusChangeHandler ($event, $eventHandler)
 removeStatusChangeHandler ($event, $eventHandler)
 setStatus ($newStatus, $arEventParameters=array())
 initializeFromArray ($arParams)
 markCanceled ($arEventParameters=[])
 markCompleted ($arEventParameters=[])
 markFaulted ($arEventParameters=[])
 getTitle ()
 setActivated (bool $activated)
 isActivated ()
Открытые члены унаследованные от IBPActivityExternalEventListener
 onExternalEvent ($arEventParameters=array())

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

static getPropertiesDialog ( $documentType, $activityName, $workflowTemplate, $workflowParameters, $workflowVariables, $currentValues=null, $formName="", $popupWindow=null, $currentSiteId=null, $workflowConstants=null)
static validateProperties ($testProperties=[], CBPWorkflowTemplateUser $user=null)
static generateToken ($workflowId, $activityName, $eventId)
static extractToken ($token)
Открытые статические члены унаследованные от CBPActivity
static load ($stream)
static includeActivityFile ($code)
static createInstance ($code, $name)
static callStaticMethod ($code, $method, $arParameters=array())
static renderResult (array $result, string $workflowId, int $userId)
static validateChild ($childActivity, $bFirstChild=false)
static & findActivityInTemplate (&$arWorkflowTemplate, $activityName)
static isExpression ($text)
static parseExpression ($exp)

Поля данных

const TOKEN_SALT = 'bizproc'
const PROPERTY_NAME_PREFIX = 'property_'
const REST_ACTIVITY_ID = 0
Поля данных унаследованные от CBPActivity
CBPActivity $parent = null
int $executionStatus = CBPActivityExecutionStatus::Initialized
int $executionResult = CBPActivityExecutionResult::None
const StatusChangedEvent = 0
const ExecutingEvent = 1
const CancelingEvent = 2
const ClosedEvent = 3
const FaultingEvent = 4
const ValuePattern = '#^\s*'.self::ValueSinglePattern.'\s*$#i'
const ValueInlinePattern = '#'.self::ValueSinglePattern.'#i'
const ValueInternalPattern = '\{=\s*([a-z0-9_]+)\s*\:\s*([a-z0-9_\.]+)(\s*>\s*([a-z0-9_\:]+)(\s*,\s*([a-z0-9_]+))?)?\s*\}'
const CalcPattern = '#^\s*(=\s*(.*)|\{\{=\s*(.*)\s*\}\})\s*$#is'
const CalcInlinePattern = '#\{\{=\s*(.*?)\s*\}\}([^\}]|$)#is'
 $workflow = null
array $arEventsMap = []

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

 reInitialize ()
Защищенные члены унаследованные от CBPActivity
 getRawProperty ($name)
 collectUsagesRecursive ($val, &$usages)
 getObjectSourceType ($objectName, $fieldName)
 getACNames ()
 fixResult (Bitrix\Bizproc\Result\ResultDto $result)
 trackError (string $errorMsg)
 getDebugInfo (array $values=[], array $map=[])
 getStorage ()

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

 $subscriptionId = 0
 $eventId
Защищенные данные унаследованные от CBPActivity
array $arProperties = []
array $arPropertiesTypes = []
string $name = ''
bool $activated = true
int $resultPriority = 0

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

static $restActivityData = []

Дополнительные унаследованные члены

Защищенные статические члены унаследованные от CBPActivity
static getPropertiesMap (array $documentType, array $context=[])
static checkResultViewRights (array $result, string $workflowId, int $userId)
static checkUserAccessWithSubordination (int $userId, array $users)

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

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

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

◆ __construct()

__construct ( $name)

Переопределяет метод предка CBPActivity.

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

Методы

◆ cancel()

cancel ( )

Переопределяет метод предка CBPActivity.

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

◆ extractToken()

extractToken ( $token)
static

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

◆ generateToken()

generateToken ( $workflowId,
$activityName,
$eventId )
static

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

◆ getPropertiesDialog()

getPropertiesDialog ( $documentType,
$activityName,
$workflowTemplate,
$workflowParameters,
$workflowVariables,
$currentValues = null,
$formName = "",
$popupWindow = null,
$currentSiteId = null,
$workflowConstants = null )
static

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

◆ onDebugEvent()

onDebugEvent ( array $eventParameters = [])

Замещает IBPActivityDebugEventListener.

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

◆ reInitialize()

reInitialize ( )
protected

Переопределяет метод предка CBPActivity.

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

◆ subscribe()

subscribe ( IBPActivityExternalEventListener $eventHandler)

Замещает IBPEventActivity.

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

◆ unsubscribe()

unsubscribe ( IBPActivityExternalEventListener $eventHandler)

Замещает IBPEventActivity.

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

◆ validateProperties()

validateProperties ( $testProperties = [],
CBPWorkflowTemplateUser $user = null )
static

Переопределяет метод предка CBPActivity.

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

Поля

◆ $eventId

$eventId
protected

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

◆ $restActivityData

$restActivityData = []
staticprotected

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

◆ $subscriptionId

$subscriptionId = 0
protected

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

◆ PROPERTY_NAME_PREFIX

const PROPERTY_NAME_PREFIX = 'property_'

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

◆ REST_ACTIVITY_ID

const REST_ACTIVITY_ID = 0

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

◆ TOKEN_SALT

const TOKEN_SALT = 'bizproc'

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


Объявления и описания членов класса находятся в файле: