EmailAddressInformationElement Class Reference

Inheritance diagram for EmailAddressInformationElement:
Element MultipleAttributesElementInterface

Static Public Member Functions

static getModelAttributeNames ()

Protected Member Functions

 renderControlEditable ()
 renderEditableEmailAddressTextField ($model, $form, $inputNameIdPrefix, $attribute)
 renderEditableEmailAddressCheckBoxField ($model, $form, $inputNameIdPrefix, $attribute)
 renderControlNonEditable ()
 renderError ()
 renderLabel ()

Detailed Description

Display the email address collection which includes an email address, opt out boolean and invalid boolean.

Definition at line 42 of file EmailAddressInformationElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Renders the editable email address content. Takes the model attribute value and converts it into at most 3 items. Email Address display, Opt Out checkbox, and Invalid Email checkbox.

Returns:
A string containing the element's content

Reimplemented from Element.

Definition at line 51 of file EmailAddressInformationElement.php.

renderControlNonEditable (  )  [protected]

Renders the noneditable email address content. If the model is a person, and the user accessing this element has right to access the email module, then the email address will be clickable. When clicked it will open a modal create email window. Takes the model attribute value and converts it into at most 3 items. Email Address display, Opt Out checkbox, and Invalid Email checkbox.

Returns:
A string containing the element's content.

Reimplemented from Element.

Definition at line 101 of file EmailAddressInformationElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 135 of file EmailAddressInformationElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 139 of file EmailAddressInformationElement.php.

static getModelAttributeNames (  )  [static]

Gets related model attribute names

Returns:
array

Implements MultipleAttributesElementInterface.

Definition at line 153 of file EmailAddressInformationElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Oct 21 07:10:25 2017