Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Protected Member Functions
EmailMessageEmailTemplateElement Class Reference
Inheritance diagram for EmailMessageEmailTemplateElement:
EmailTemplateElement ModelElement Element ElementActionTypeInterface

Protected Member Functions

 renderControlEditable ()
 
 getTextContentId ()
 
 getHtmlContentId ()
 
 getContactId ()
 
 shouldUseTemplate ()
 
 resolveAdditionalHtmlOptionsForTextField ($idInputName)
 
 registerScriptForAutoCompleteTextField ()
 
- Protected Member Functions inherited from EmailTemplateElement
 renderControlEditable ()
 
 wrapHasModelSelectInput (&$content)
 
 getName ()
 
 getId ()
 
 registerScripts ()
 
 registerChangeHandlerScript ()
 
 registerUpdateFlashBarScript ()
 
 renderLabel ()
 
 renderError ()
 
 getEditableHtmlOptions ()
 
 getEmailTemplateDetailsJsonUrl ()
 
 getTextContentId ()
 
 getSubjectId ()
 
 getHtmlContentId ()
 
 getCloneExitingFilesUrl ()
 
 getContactId ()
 
 getAutoCompleteUrlParams ()
 
 getSelectLinkUrlParams ()
 
 getNameForHiddenField ()
 
 getNameForTextField ()
 
- Protected Member Functions inherited from ModelElement
 renderControlEditable ()
 
 renderEditableContent ()
 
 wrapHasModelSelectInput (&$content)
 
 getIdInputHtmlOptions ()
 
 renderTextField ($idInputName)
 
 resolveAdditionalHtmlOptionsForTextField ($idInputName)
 
 getAutoCompleteUrlParams ()
 
 getAutoCompleteControllerId ()
 
 renderSelectLink ()
 
 getSelectLinkUrlParams ()
 
 resolveAjaxOptionsForSelectingModel ($formId)
 
 getModalTitleForSelectingModel ()
 
 getModalContainerId ()
 
 getSelectLinkControllerId ()
 
 renderControlNonEditable ()
 
 makeNonEditableLink ()
 
 makeNonEditableLinkUrl ()
 
 renderLabel ()
 
 getIdForHiddenField ()
 
 getNameForHiddenField ()
 
 getIdForTextField ()
 
 getNameForTextField ()
 
 getIdForSelectLink ()
 
 getName ()
 
 getId ()
 
 getResolvedModel ()
 
 getModalTransferInformation ()
 
 resolveSourceModelIdForModalTransferInformation ()
 
 getSelectLinkStartingStyle ()
 
 showLinkOnNonEditable ()
 
 showOnlyHiddenInputForEditable ()
 
 resolveModuleId ()
 
 registerScriptForAutoCompleteTextField ()
 
 getOnSelectOptionForAutoComplete ($idInputName)
 
 resolveOnSelectionOptionAttributeNameForAutoComplete ()
 
 renderExtraHtmlContent ()
 
 renderClearLink ()
 
 renderClearLinkContent ()
 
 resolveClearLinkHtmlOptions ()
 
 registerClearLinkScripts ()
 
 registerIdHiddenInputChangeScript ()
 
 registerClearLinkClickScript ()
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Additional Inherited Members

- Public Member Functions inherited from EmailTemplateElement
 __construct ($model, $attribute, $form=null, array $params=array())
 
- Public Member Functions inherited from ModelElement
 doNotHideSelectLinkWhenDisabled ()
 
 setIdAttributeId ($idAttributeId)
 
 getEditableNameIds ()
 
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Static Public Member Functions inherited from ModelElement
static getModuleId ()
 
static getEditableActionType ()
 
static getNonEditableActionType ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 
- Data Fields inherited from EmailTemplateElement
const DISABLE_DROPDOWN_WHEN_AJAX_IN_PROGRESS = true
 
const DISABLE_TEXTBOX_WHEN_AJAX_IN_PROGRESS = true
 
const NOTIFICATION_BAR_ID = 'FlashMessageBar'
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}"><div class="has-model-select">{content}</div>{error}</td>'
 
- Data Fields inherited from ModelElement
const MODAL_CONTAINER_PREFIX = 'modalContainer'
 
const CLEAR_LINK_ID = 'clear-link'
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 
- Protected Attributes inherited from EmailTemplateElement
 $name
 
 $id
 
- Protected Attributes inherited from ModelElement
 $controllerId = 'default'
 
 $idAttributeId = 'id'
 
 $hideSelectLinkWhenDisabled = true
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 
- Static Protected Attributes inherited from EmailTemplateElement
static $moduleId = 'emailTemplates'
 
- Static Protected Attributes inherited from ModelElement
static $moduleId
 
static $autoCompleteActionId = 'autoComplete'
 
static $modalActionId = 'modalList'
 
static $editableActionType = 'ModalList'
 
static $nonEditableActionType = 'Details'
 

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

Returns
string

Definition at line 47 of file EmailMessageEmailTemplateElement.php.

shouldUseTemplate ( )
protected

If the emailMessage content can be populated from an emailTemplate

Returns
bool

Definition at line 81 of file EmailMessageEmailTemplateElement.php.

resolveAdditionalHtmlOptionsForTextField (   $idInputName)
protected

Overridden here because we need additional html options.

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

Definition at line 103 of file EmailMessageEmailTemplateElement.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 7 2020 07:10:46
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.