Static Public Member Functions | |
static | getType () |
![]() | |
static | getType () |
Data Fields | |
const | RELATION_FILTER_ANY = 'RelationFilterAny' |
$currencyIdForValue | |
$value | |
$secondValue | |
$thirdValueDurationInterval | |
$thirdValueDurationType | |
$stringifiedModelForValue | |
$valueType | |
$relationFilter = self::RELATION_FILTER_ANY | |
![]() | |
const | DISPLAY_LABEL_RELATION_DIVIDER = '>>' |
const | TYPE_TIME_TRIGGER = 'TimeTrigger' |
const | TYPE_TRIGGERS = 'Triggers' |
const | TYPE_ACTIONS = 'Actions' |
const | TYPE_EMAIL_MESSAGES = 'EmailMessages' |
Protected Member Functions | |
getAvailableOperatorsType () | |
resolveShouldAddSpecialOnSaveNonRelatedOperators () | |
resolveShouldAddSpecialByTimeNonRelatedOperators () | |
![]() | |
resolveAttributeOrRelationAndAttributeDataByIndexType ($indexType) | |
resolveAttributeFromData (Array $attributeAndRelationData) | |
resolveAttributeModuleClassNameFromData (Array $attributeAndRelationData, $moduleClassName, $modelClassName) | |
resolveAttributeModelClassNameFromData (Array $attributeAndRelationData, $moduleClassName, $modelClassName) | |
resolvePenultimateModelClassNameFromData (Array $attributeAndRelationData, $modelClassName) | |
resolvePenultimateRelationFromData (Array $attributeAndRelationData) | |
resolveRealAttributeNameForPenultimateRelation (Array $attributeAndRelationData) | |
Static Protected Member Functions | |
static | getValueTypesWhereValueIsRequired () |
static | getValueTypesWhereSecondValueIsRequired () |
static | getOperatorsWhereValueIsRequired () |
static | getOperatorsWhereSecondValueIsRequired () |
static | getValueTypesWhereThirdValueIsRequired () |
Additional Inherited Members | |
![]() | |
$moduleClassName | |
$modelClassName | |
$attributeAndRelationData | |
$workflowType | |
Component form for trigger definitions
Definition at line 40 of file TriggerForWorkflowForm.php.
|
static |
Definition at line 120 of file TriggerForWorkflowForm.php.
attributeNames | ( | ) |
Definition at line 128 of file TriggerForWorkflowForm.php.
__set | ( | $name, | |
$value | |||
) |
Reset availableOperatorsType cache whenever a new attribute is set (non-PHPdoc)
Definition at line 138 of file TriggerForWorkflowForm.php.
setOperator | ( | $value | ) |
$value |
NotSupportedException |
Definition at line 151 of file TriggerForWorkflowForm.php.
getOperator | ( | ) |
Implements OperatorInterface.
Definition at line 163 of file TriggerForWorkflowForm.php.
rules | ( | ) |
Definition at line 171 of file TriggerForWorkflowForm.php.
validateOperator | ( | ) |
Definition at line 195 of file TriggerForWorkflowForm.php.
validateRelationFilter | ( | ) |
Definition at line 207 of file TriggerForWorkflowForm.php.
validateValue | ( | ) |
Definition at line 221 of file TriggerForWorkflowForm.php.
validateSecondValue | ( | ) |
When the operator type is Between the secondValue is required. Also if the valueType, which is used by date/datetime attributes is set to Between than the secondValue is required.
NotSupportedException |
Definition at line 257 of file TriggerForWorkflowForm.php.
validateThirdValue | ( | ) |
When the value type is MixedDateTypesTriggerForWorkflowFormAttributeMappingRules::TYPE_AT_LEAST_X_AFTER_TRIGGERED_DATE or MixedDateTypesTriggerForWorkflowFormAttributeMappingRules::TYPE_AT_LEAST_X_BEFORE_TRIGGERED_DATE then the thirdValueDurationInterval and thirdValueDurationType are required
NotSupportedException |
Definition at line 286 of file TriggerForWorkflowForm.php.
validateValueType | ( | ) |
Definition at line 307 of file TriggerForWorkflowForm.php.
hasAvailableOperatorsType | ( | ) |
Definition at line 319 of file TriggerForWorkflowForm.php.
getOperatorValuesAndLabels | ( | ) |
NotSupportedException | if the attributeIndexOrDerivedType has not been populated yet |
Definition at line 332 of file TriggerForWorkflowForm.php.
getValueElementType | ( | ) |
NotSupportedException | if the attributeIndexOrDerivedType has not been populated yet |
Definition at line 372 of file TriggerForWorkflowForm.php.
getValueEvaluationType | ( | ) |
Utilized during evaluating a trigger against a model value whether it is true or false
NotSupportedException | if the attributeIndexOrDerivedType has not been populated yet |
Definition at line 387 of file TriggerForWorkflowForm.php.
getCustomFieldDataAndLabels | ( | ) |
NotSupportedException | if the resolved attribute is invalid and not on the resolved model |
Definition at line 401 of file TriggerForWorkflowForm.php.
isTrueByModel | ( | RedBeanModel | $model | ) |
Given a model, does the trigger evaluate true or false for the value against the trigger's attribute
RedBeanModel | $model |
Definition at line 423 of file TriggerForWorkflowForm.php.
resolveNewTimeStampForThirdValueDuration | ( | $initialTimeStamp | ) |
Resolve durationSign based on value type MixedDateTypesTriggerForWorkflowFormAttributeMappingRules::TYPE_AT_LEAST_X_AFTER_TRIGGERED_DATE or MixedDateTypesTriggerForWorkflowFormAttributeMappingRules::TYPE_AT_LEAST_X_BEFORE_TRIGGERED_DATE
integer | $initialTimeStamp |
Definition at line 436 of file TriggerForWorkflowForm.php.
|
protected |
NotSupportedException | if the attributeIndexOrDerivedType has not been populated yet |
Definition at line 458 of file TriggerForWorkflowForm.php.
|
staticprotected |
Definition at line 477 of file TriggerForWorkflowForm.php.
|
staticprotected |
Definition at line 485 of file TriggerForWorkflowForm.php.
|
staticprotected |
Definition at line 493 of file TriggerForWorkflowForm.php.
|
staticprotected |
Definition at line 501 of file TriggerForWorkflowForm.php.
|
staticprotected |
Definition at line 509 of file TriggerForWorkflowForm.php.
|
protected |
Definition at line 570 of file TriggerForWorkflowForm.php.
|
protected |
Definition at line 587 of file TriggerForWorkflowForm.php.
const RELATION_FILTER_ANY = 'RelationFilterAny' |
When performing actions on related models, if there are MANY related models RELATION_FILTER_ALL means the action will be performed on all related models
Definition at line 46 of file TriggerForWorkflowForm.php.