EmailMessageAllRecipientTypesElement Class Reference

Inheritance diagram for EmailMessageAllRecipientTypesElement:
Element DerivedElementInterface

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())

Static Public Member Functions

static getDisplayName ()
static getModelAttributeNames ()

Data Fields

const CC_BCC_FIELD_ID = 'cc-bcc-fields'

Protected Member Functions

 renderControlNonEditable ()
 renderControlEditable ()
 renderShowCcBccLink ()
 renderCcBccFieldsWithLink ()
 renderError ()
 renderLabel ()

Protected Attributes

 $toElement
 $ccElement
 $bccElement

Detailed Description

Display email message to to, cc, and bcc recipients

Definition at line 40 of file EmailMessageAllRecipientTypesElement.php.


Constructor & Destructor Documentation

__construct ( model,
attribute,
form = null,
array $  params = array() 
)

Constructs the element specifying the model and attribute. In the case of needing to show editable information, a form is also provided.

Parameters:
$form Optional. If supplied an editable element will be rendered.
$params Can have additional parameters for use. 'wide' true or false is an example parameter

Reimplemented from Element.

Definition at line 50 of file EmailMessageAllRecipientTypesElement.php.


Member Function Documentation

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 100 of file EmailMessageAllRecipientTypesElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 105 of file EmailMessageAllRecipientTypesElement.php.

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

Returns:
array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 125 of file EmailMessageAllRecipientTypesElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed May 24 07:10:24 2017