Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

OutgoingEmailMessageRecipientBaseElement Class Reference

Inheritance diagram for OutgoingEmailMessageRecipientBaseElement:
MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface

Data Fields

 $editableTemplate = '<div class="recipient">{label}<div>{content}{error}</div></div>'

Protected Member Functions

 getRecipientType ($lowerCase=true)
 getRecipientTypeForId ()
 getFormName ()
 assertModelType ()
 getAttributeNameWithRecipientType ()
 getUnqualifiedIdForIdField ()
 getUnqualifiedNameForIdField ()
 getWidgetSourceUrl ()
 getWidgetHintText ()
 renderLabel ()
 renderError ()
 getRelationName ()
 resolveIdAndNameByModel (RedBeanModel $recipient)

Detailed Description

Base element for outgoing email's recipients. Extended by to, cc, bcc

Definition at line 40 of file OutgoingEmailMessageRecipientBaseElement.php.


Member Function Documentation

getFormName (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 75 of file OutgoingEmailMessageRecipientBaseElement.php.

assertModelType (  )  [protected]

Asserts that element is attached to a form with a model type that we are indeed expecting

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 80 of file OutgoingEmailMessageRecipientBaseElement.php.

getUnqualifiedIdForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 90 of file OutgoingEmailMessageRecipientBaseElement.php.

getUnqualifiedNameForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 95 of file OutgoingEmailMessageRecipientBaseElement.php.

getWidgetSourceUrl (  )  [protected]

Returns the source url widget should hit to request data for autocomplete

Returns:
mixed

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 100 of file OutgoingEmailMessageRecipientBaseElement.php.

getWidgetHintText (  )  [protected]

Returns the hint text display in widget

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 105 of file OutgoingEmailMessageRecipientBaseElement.php.

renderLabel (  )  [protected]

Returns label

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 110 of file OutgoingEmailMessageRecipientBaseElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 123 of file OutgoingEmailMessageRecipientBaseElement.php.

getRelationName (  )  [protected]

Returns the relation name we would query when generated existing Ids and Labels

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 130 of file OutgoingEmailMessageRecipientBaseElement.php.

resolveIdAndNameByModel ( RedBeanModel model  )  [protected]

Resolve an array with id and name using the sent model

Parameters:
$model 
Returns:
array

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 135 of file OutgoingEmailMessageRecipientBaseElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 07:10:58 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8