EmailMessageEmailTemplateElement Class Reference

Inheritance diagram for EmailMessageEmailTemplateElement:
EmailTemplateElement ModelElement Element ElementActionTypeInterface

Protected Member Functions

 renderControlEditable ()
 getTextContentId ()
 getHtmlContentId ()
 getContactId ()
 shouldUseTemplate ()
 resolveAdditionalHtmlOptionsForTextField ($idInputName)
 registerScriptForAutoCompleteTextField ()

Detailed Description

Display the emailTemplate selection for the emailMessage

Definition at line 40 of file EmailMessageEmailTemplateElement.php.

Member Function Documentation

renderControlEditable (  )  [protected]

Override so it only render if to recipient is a Contact and the user has the right to access Email Templates


Reimplemented from EmailTemplateElement.

Definition at line 47 of file EmailMessageEmailTemplateElement.php.

shouldUseTemplate (  )  [protected]

If the emailMessage content can be populated from an emailTemplate


Definition at line 81 of file EmailMessageEmailTemplateElement.php.

resolveAdditionalHtmlOptionsForTextField ( idInputName  )  [protected]

Overridden here because we need additional html options.

Reimplemented from ModelElement.

Definition at line 94 of file EmailMessageEmailTemplateElement.php.

registerScriptForAutoCompleteTextField (  )  [protected]

Registers scripts for autocomplete text field Overridden here because we need additional function for onfocus event

Reimplemented from ModelElement.

Definition at line 103 of file EmailMessageEmailTemplateElement.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Nov 17 07:10:53 2019