lucee.Component contentbox.models.system.EmailTemplateHelper
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A helper to create standard email template sections
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
avatar
|
true
|
false
|
Constructor Summary | |
---|---|
init()
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 lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- Avatar@cbserializable
- trueMethod Detail |
---|
email
content
Create 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