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

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

 __get ($name)
 execute ()
Открытые члены унаследованные от 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)
 __isset ($name)
 pullProperties ()
 __set ($name, $val)
 isPropertyExists ($name)
 collectNestedActivities ()
 collectUsages ()
 collectPropertyUsages ($propertyName)
 __construct ($name)
 toString ()
 initialize ()
 finalize ()
 cancel ()
 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 ()

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

static getPropertiesDialog ( $documentType, $activityName, $workflowTemplate, $workflowParameters, $workflowVariables, $currentValues=null, $formName='', $popupWindow=null, $siteId='')
static renderPropertiesDialog (PropertiesDialog $dialog)
static getPropertiesDialogValues ( $documentType, $activityName, &$workflowTemplate, &$workflowParameters, &$workflowVariables, $currentValues, &$errors)
static validateProperties ($testProperties=[], \CBPWorkflowTemplateUser $user=null)
static getPropertiesDialogMap (?PropertiesDialog $dialog=null)
Открытые статические члены унаследованные от 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 validateProperties ($arTestProperties=array(), CBPWorkflowTemplateUser $user=null)
static validateChild ($childActivity, $bFirstChild=false)
static & findActivityInTemplate (&$arWorkflowTemplate, $activityName)
static isExpression ($text)
static parseExpression ($exp)

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

 prepareProperties ()
 convertPropertyValue (string $type, $value)
 checkProperties ()
 internalExecute ()
 logError (string $message='', int $userId=0)
 log (string $message='', int $userId=0, int $type=-1)
Защищенные члены унаследованные от CBPActivity
 getRawProperty ($name)
 collectUsagesRecursive ($val, &$usages)
 getObjectSourceType ($objectName, $fieldName)
 reInitialize ()
 getACNames ()
 fixResult (Bitrix\Bizproc\Result\ResultDto $result)
 trackError (string $errorMsg)
 getDebugInfo (array $values=[], array $map=[])
 getStorage ()

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

static renderBizprocProperty (PropertiesDialog $dialog, array $field)
static renderRobotProperty (PropertiesDialog $dialog, array $field)
static extractPropertiesValues (PropertiesDialog $dialog, array $fieldsMap)
static getFileName ()
static checkModules ()
static getDocumentService ()
static getRuntimeData ()
Защищенные статические члены унаследованные от CBPActivity
static getPropertiesMap (array $documentType, array $context=[])
static checkResultViewRights (array $result, string $workflowId, int $userId)
static checkUserAccessWithSubordination (int $userId, array $users)

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

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

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

static $requiredModules = []

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

Поля данных унаследованные от 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 = []

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

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

Методы

◆ __get()

__get ( $name)

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

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

◆ checkModules()

checkModules ( )
staticprotected

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

◆ checkProperties()

checkProperties ( )
protected

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

◆ convertPropertyValue()

convertPropertyValue ( string $type,
$value )
protected

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

◆ execute()

execute ( )

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

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

◆ extractPropertiesValues()

extractPropertiesValues ( PropertiesDialog $dialog,
array $fieldsMap )
staticprotected

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

◆ getDocumentService()

getDocumentService ( )
staticprotected

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

◆ getFileName()

getFileName ( )
staticabstractprotected

◆ getPropertiesDialog()

getPropertiesDialog ( $documentType,
$activityName,
$workflowTemplate,
$workflowParameters,
$workflowVariables,
$currentValues = null,
$formName = '',
$popupWindow = null,
$siteId = '' )
static

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

◆ getPropertiesDialogMap()

getPropertiesDialogMap ( ?PropertiesDialog $dialog = null)
static

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

◆ getPropertiesDialogValues()

getPropertiesDialogValues ( $documentType,
$activityName,
& $workflowTemplate,
& $workflowParameters,
& $workflowVariables,
$currentValues,
& $errors )
static

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

◆ getRuntimeData()

getRuntimeData ( )
staticprotected

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

◆ internalExecute()

internalExecute ( )
protected

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

◆ log()

log ( string $message = '',
int $userId = 0,
int $type = -1 )
protected

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

◆ logError()

logError ( string $message = '',
int $userId = 0 )
protected

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

◆ prepareProperties()

prepareProperties ( )
protected

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

◆ renderBizprocProperty()

renderBizprocProperty ( PropertiesDialog $dialog,
array $field )
staticprotected

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

◆ renderPropertiesDialog()

renderPropertiesDialog ( PropertiesDialog $dialog)
static

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

◆ renderRobotProperty()

renderRobotProperty ( PropertiesDialog $dialog,
array $field )
staticprotected

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

◆ validateProperties()

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

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

Поля

◆ $preparedProperties

$preparedProperties = []
protected

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

◆ $requiredModules

$requiredModules = []
staticprotected

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


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