railo-context.Component
coldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.plugins.EmailTemplateHelper
| Constructor Summary | |
|---|---|
|
init(any controller)
Constructor. |
|
| Method Summary | |
|---|---|
string
|
author(string email, string content)
|
string
|
buttonBar(array buttons)
Create a button bar. |
string
|
divider(numeric paddingTop='18', numeric paddingRight='18', numeric paddingBottom='18', numeric paddingLeft='18', string borderColor='DDDDDD', string borderStyle='solid', numeric borderWidth='1')
Create a divider. |
string
|
heading(string content, string level='h2', string color='777', numeric fontSize='20')
Create a heading. |
string
|
text(string content, boolean callout='false')
Create a text area. |
| Methods inherited from class coldbox.system.Plugin |
|---|
| getpluginAuthor, getpluginAuthorURL, getPluginDescription, getPluginName, getpluginPath, getPluginVersion, getRequestCollection, getRequestContext, setpluginAuthor, setpluginAuthorURL, setPluginDescription, setPluginName, setPluginVersion |
| Methods inherited from class coldbox.system.FrameworkSupertype |
|---|
| $htmlhead, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getInstance, getInterceptor, getMemento, getModel, getModuleSettings, getMyPlugin, getPlugin, getSetting, getSettingStructure, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, renderExternalView, renderLayout, renderView, runEvent, setNextEvent, setSetting, settingExists |
| Methods inherited from class railo-context.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
controller| Method Detail |
|---|
emailcontentCreate a button bar
buttons - Array of buttons to add to the button barCreate a divider
paddingTop - Top paddingpaddingRight - Right paddingpaddingBottom - Bottom paddingpaddingLeft - Left paddingborderColor - Border colorborderStyle - Border styleborderWidth - Border widthCreate a heading
content - Content for the headinglevel - The heading levelcolor - Text colorfontSize - Heading font sizeCreate a text area
content - Content for the text areacallout - If true, will wrap content in a callout box