EmailTemplateHtmlAndTextContentElement Class Reference

Inheritance diagram for EmailTemplateHtmlAndTextContentElement:
Element DerivedElementInterface

Static Public Member Functions

static getModelAttributeNames ()
static renderModelAttributeLabel ($name)

Data Fields

const SELECTIVE_TAB_LOAD_KEY = 'selectiveTabLoad'
const HTML_CONTENT_INPUT_NAME = 'htmlContent'
const TEXT_CONTENT_INPUT_NAME = 'textContent'
 $plugins = array('fontfamily', 'fontsize', 'fontcolor', 'mergetags')

Protected Member Functions

 renderHtmlContentAreaLabel ()
 renderTextContentAreaLabel ()
 resolveTabbedContent ($plainTextContent, $htmlContent, $activeTab= 'text')
 registerTabbedContentScripts ()
 registerRedactorIframeHeightScripts ()
 renderControlNonEditable ()
 renderControlEditable ()
 getActiveTab ()
 isHtmlContentNotEmptyOrBothContentsEmpty ()
 renderEditableHtmlContentArea ()
 renderNonEditableHtmlContentArea ()
 renderHtmlContentArea ()
 renderTextContentArea ()
 renderTextAndHtmlContentAreaError ()
 renderLabel ()
 renderError ()
 getControllerId ()
 getModuleId ()
 isPastedHtmlTemplate ()
 isPlainTextTemplate ()
 isBuilderTemplate ()
 callMethodIfExistsElseReturnTrue ($method)
 resolveDeniedTags ()
 resolvePlugins ()
 resolveSelectiveLoadOfTabs ()

Static Protected Member Functions

static renderLabels ()

Detailed Description

Base Element used to display text and html areas on email template, autoresponder and campaign edit and detail views

Definition at line 41 of file EmailTemplateHtmlAndTextContentElement.php.


Member Function Documentation

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

Returns:
array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 51 of file EmailTemplateHtmlAndTextContentElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 297 of file EmailTemplateHtmlAndTextContentElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 302 of file EmailTemplateHtmlAndTextContentElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:25 2017