EmailTemplateElement Class Reference

Inheritance diagram for EmailTemplateElement:
ModelElement Element ElementActionTypeInterface EmailMessageEmailTemplateElement

Data Fields

const NOTIFICATION_BAR_ID = 'FlashMessageBar'

Protected Member Functions

 renderControlEditable ()
 getName ()
 getId ()
 registerScripts ()
 registerChangeHandlerScript ()
 registerUpdateFlashBarScript ()
 renderLabel ()
 renderError ()
 getEditableHtmlOptions ()
 getEmailTemplateDetailsJsonUrl ()
 getTextContentId ()
 getSubjectId ()
 getHtmlContentId ()
 getCloneExitingFilesUrl ()
 getContactId ()
 getAutoCompleteUrlParams ()
 getSelectLinkUrlParams ()

Protected Attributes


Static Protected Attributes

static $moduleId = 'emailTemplates'

Detailed Description

Display the emailTemplate selection. This is a combination of a type-ahead input text field and a selection button which renders a modal list view to search on emailTemplates. Also includes a hidden input for the user id.

Definition at line 44 of file EmailTemplateElement.php.

Member Function Documentation

renderControlEditable (  )  [protected]

Render a hidden input, a text input with an auto-complete event, and a select button. These three items together form the Account Editable Element

The element's content as a string.

Reimplemented from ModelElement.

Reimplemented in EmailMessageEmailTemplateElement.

Definition at line 64 of file EmailTemplateElement.php.

getName (  )  [protected]
stringified name if it exists or empty string to avoid (unnamed) being shown.

Reimplemented from ModelElement.

Definition at line 81 of file EmailTemplateElement.php.

getId (  )  [protected]
id if a real model, otherwise an empty string to ensure the
See also:
ZurmoHtml::activeInputField works properly when resolving the id.

Reimplemented from ModelElement.

Definition at line 86 of file EmailTemplateElement.php.

renderLabel (  )  [protected]

Override to support the module labels for the models.

Reimplemented from ModelElement.

Definition at line 286 of file EmailTemplateElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

error content

Reimplemented from Element.

Definition at line 291 of file EmailTemplateElement.php.

Field Documentation

$moduleId = 'emailTemplates' [static, protected]

Override in child element with a specific moduleId

Reimplemented from ModelElement.

Definition at line 52 of file EmailTemplateElement.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jul 23 07:10:26 2017