Class X2FlowTrigger
Color utilities (unused)
- CComponent
- X2FlowItem
- X2FlowTrigger
Direct known subclasses
ActionCompleteTrigger, ActionOverdueTrigger, EmailOpenTrigger, InboundEmailTrigger, MacroTrigger, MultiChildNode, OutboundEmailTrigger, RecordCreateTrigger, RecordDeleteTrigger, RecordUpdateTrigger, RecordViewTrigger, ActionUncompleteTrigger, BaseTagTrigger, BaseUserTrigger, BaseWorkflowStageTrigger, BaseWorkflowTrigger, CampaignEmailClickTrigger, CampaignEmailOpenTrigger, CampaignUnsubscribeTriggerIndirect known subclasses
RecordTagAddTrigger, RecordTagRemoveTrigger, X2FlowSplitter, X2FlowSwitch, UserLoginTrigger, UserLogoutTrigger, WebleadTrigger, WorkflowCompleteStageTrigger, WorkflowCompleteTrigger, WorkflowRevertStageTrigger, WorkflowStartStageTrigger, WorkflowStartTrigger
Abstract
Package: application\components\x2flow
Located at x2engine/protected/components/x2flow/triggers/X2FlowTrigger.php
Package: application\components\x2flow
Located at x2engine/protected/components/x2flow/triggers/X2FlowTrigger.php
public static
array
|
|
public static
|
|
public static
|
|
public
|
#
getDefaultReturnVal( mixed $flowId )
Can be overriden in child class to give flow a default return value |
public
|
#
afterValidate( mixed & $params, mixed $defaultErrMsg = '', mixed $flowId )
Can be overriden in child class to extend behavior of validate method |
public
|
|
public
array
|
|
public
array
|
|
public static
boolean
|
#
checkWorkflowStatusCondition( Array $condition, Array & $params )
Used to check workflow status condition |
public static
boolean
|
|
protected static
|
|
public static
boolean
|
|
protected static
array
|
#
tokenize( string $str )
Breaks a string expression into an array of 2-element arrays (type, value)
using |
protected static
|
|
protected static
|
#
simplifyNode( array & $tree, array $nodePath )
Checks if this branch has only one node and eliminates it by moving the child node up one level |
public static
mixed
|
|
public static
|
#
getTriggerTypes( string $queryProperty = False, mixed $queryValue = False )
Gets all X2Flow trigger types. |
public static
string
|
|
public static
|
calculateTimeOffset(),
create(),
getInstances(),
getParamRules(),
getTitle(),
paramRules(),
parseOption(),
validateDropdown(),
validateEmail(),
validateOptions()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
VALIDATION_WARNING
|
public
string
|
$notifType | '' |
#
$var string the type of notification to create |
public
string
|
$eventType | '' |
#
$var string the type of event to create |
public static
array
|
$genericConditions | array(
'attribute' => 'Compare Attribute',
'workflow_status' => 'Process Status',
'current_user' => 'Current User',
'month' => 'Current Month',
'day_of_week' => 'Day of Week',
'day_of_month' => 'Day of Month',
'time_of_day' => 'Time of Day',
'current_time' => 'Current Time',
'user_active' => 'User Logged In',
'on_list' => 'On List',
'has_tags' => 'Has Tags',
'email_open' => 'Email Opened',
// 'workflow_status' => 'Workflow Status',
// 'current_local_time' => ''),
) |
|
protected static
array
|
$_tokenChars | array(
',' => 'COMMA',
'{' => 'OPEN_BRACKET',
'}' => 'CLOSE_BRACKET',
'+' => 'ADD',
'-' => 'SUBTRACT',
'*' => 'MULTIPLY',
'/' => 'DIVIDE',
'%' => 'MOD',
// '(' => 'OPEN_PAREN',
// ')' => 'CLOSE_PAREN',
) |
|
protected static
array
|
$_tokenRegex | array(
'\d+\.\d+\b|^\.?\d+\b' => 'NUMBER',
'[a-zA-Z]\w*\.[a-zA-Z]\w*' => 'VAR_COMPLEX',
'[a-zA-Z]\w*' => 'VAR',
'\s+' => 'SPACE',
'.' => 'UNKNOWN',
) |
$_instances,
$config,
$info,
$label,
$requiresCron
|