|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.plugins.EmailTemplateHelper
public class 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 |
---|
getPluginDescription, getPluginName, getPluginVersion, getRequestCollection, getRequestContext, getpluginAuthor, getpluginAuthorURL, getpluginPath, setPluginDescription, setPluginName, setPluginVersion, setpluginAuthor, setpluginAuthorURL
|
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
$abort, $dump, $htmlhead, $include, $rethrow, $throw, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getDebugMode, getInterceptor, getMailService, getMailSettings, getMemento, getModel, getModuleSettings, getMyPlugin, getNewMail, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getValidationManager, getfwLocale, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setfwLocale, settingExists, validateModel
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any controller)
controller
Method Detail |
---|
public string author(string email, string content)
email
content
public string buttonBar(Array buttons)
buttons
- Array of buttons to add to the button barpublic string divider(numeric paddingTop='18', numeric paddingRight='18', numeric paddingBottom='18', numeric paddingLeft='18', string borderColor='DDDDDD', string borderStyle='solid', numeric borderWidth='1')
paddingTop
- Top paddingpaddingRight
- Right paddingpaddingBottom
- Bottom paddingpaddingLeft
- Left paddingborderColor
- Border colorborderStyle
- Border styleborderWidth
- Border widthpublic string heading(string content, string level='h2', string color='777', numeric fontSize='20')
content
- Content for the headinglevel
- The heading levelcolor
- Text colorfontSize
- Heading font sizepublic string text(string content, boolean callout='false')
content
- Content for the text areacallout
- If true, will wrap content in a callout box
|
ContentBox Core API 1.6.0 | ||||
FRAMES |