All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
WorkflowEmailMessageRecipientForm Class Reference
Inheritance diagram for WorkflowEmailMessageRecipientForm:
ConfigurableMetadataModel DynamicTriggeredByUserWorkflowEmailMessageRecipientForm DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm DynamicTriggeredModelUserWorkflowEmailMessageRecipientForm DynamicTriggeredModelWorkflowEmailMessageRecipientForm StaticAddressWorkflowEmailMessageRecipientForm StaticGroupWorkflowEmailMessageRecipientForm StaticRoleWorkflowEmailMessageRecipientForm StaticUserWorkflowEmailMessageRecipientForm

Public Member Functions

 makeRecipients (RedBeanModel $model, User $triggeredByUser)
 
 __construct ($modelClassName, $workflowType)
 
 rules ()
 

Static Public Member Functions

static getTypeLabel ()
 
static getFormType ()
 
static getTypeValuesAndLabels ($modelClassName, $workflowType)
 

Data Fields

const TYPE_DYNAMIC_TRIGGERED_MODEL_USER = 'DynamicTriggeredModelUser'
 
const TYPE_DYNAMIC_TRIGGERED_MODEL_RELATION_USER = 'DynamicTriggeredModelRelationUser'
 
const TYPE_STATIC_ROLE = 'StaticRole'
 
const TYPE_DYNAMIC_TRIGGERED_BY_USER = 'DynamicTriggeredByUser'
 
const TYPE_STATIC_USER = 'StaticUser'
 
const TYPE_STATIC_ADDRESS = 'StaticAddress'
 
const TYPE_STATIC_GROUP = 'StaticGroup'
 
const TYPE_DYNAMIC_TRIGGERED_MODEL = 'DynamicTriggeredModel'
 
const TYPE_DYNAMIC_TRIGGERED_MODEL_RELATION = 'DynamicTriggeredModelRelation'
 
 $type
 
 $audienceType
 

Protected Member Functions

 createWorkflowTriggerUserPrimaryEmailAddressRequiredNotificationForUser (User $user)
 

Protected Attributes

 $stringifiedModelForValue
 
 $modelClassName
 
 $workflowType
 

Detailed Description

Base class for working with email message recipients.

Definition at line 40 of file WorkflowEmailMessageRecipientForm.php.

Constructor & Destructor Documentation

__construct (   $modelClassName,
  $workflowType 
)
Parameters
string$modelClassName
string$workflowType

Definition at line 120 of file WorkflowEmailMessageRecipientForm.php.

Member Function Documentation

makeRecipients ( RedBeanModel  $model,
User  $triggeredByUser 
)
abstract
Parameters
RedBeanModel$model
User$triggeredByUser
Returns
array of EmailMessageRecipients
static getTypeLabel ( )
static
Exceptions
NotImplementedExceptionif not implemented by a child class
Returns
string label content

Definition at line 100 of file WorkflowEmailMessageRecipientForm.php.

static getFormType ( )
static
Returns
string - If the class name is DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm, then 'DynamicTriggeredModelRelationUser' will be returned.

Definition at line 109 of file WorkflowEmailMessageRecipientForm.php.

rules ( )

Override to properly handle retrieving rule information from the model for the attribute name.

Definition at line 131 of file WorkflowEmailMessageRecipientForm.php.

static getTypeValuesAndLabels (   $modelClassName,
  $workflowType 
)
static
Parameters
string$modelClassName
string$workflowType
Returns
array

Definition at line 146 of file WorkflowEmailMessageRecipientForm.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:11:07