All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes | Static Protected Attributes
EmailTemplateElement Class Reference
Inheritance diagram for EmailTemplateElement:
ModelElement Element ElementActionTypeInterface EmailMessageEmailTemplateElement

Public Member Functions

 __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 ()
 

Data Fields

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 Member Functions

 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 ()
 

Protected Attributes

 $name
 
 $id
 
- Protected Attributes inherited from ModelElement
 $controllerId = 'default'
 
 $idAttributeId = 'id'
 
 $hideSelectLinkWhenDisabled = true
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Static Protected Attributes

static $moduleId = 'emailTemplates'
 
- Static Protected Attributes inherited from ModelElement
static $moduleId
 
static $autoCompleteActionId = 'autoComplete'
 
static $modalActionId = 'modalList'
 
static $editableActionType = 'ModalList'
 
static $nonEditableActionType = 'Details'
 

Additional Inherited Members

- 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)
 

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

Returns
The element's content as a string.

Definition at line 82 of file EmailTemplateElement.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:45