lucee.Componentcontentbox.models.content.renderers.BaseRenderer
contentbox.models.content.renderers.SettingRenderer
ContentBox - A Modular Content Platform
Copyright since 2012 by Ortus Solutions, Corp
www.ortussolutions.com/products/contentbox
---
A content renderer that transforms ${setting} into the actual setting displayed
You can also prefix the markup with rc or prc to render from the request contexts as well:
${rc:key} ${prc:key}
You can escape this notation by surrounding them with our
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
settingService
|
true
|
false
|
Method Summary | |
---|---|
void
|
cb_onContentRendering(any event, [struct interceptData='[runtime expression]'])
Execute on content translations for pages and blog entries. |
string
|
getSettingService()
|
any
|
setSettingService(any settingService)
|
private any
|
translateContent(any builder, any content, any event)
Translate the content. |
Methods inherited from class contentbox.models.content.renderers.BaseRenderer |
---|
configure, getCb, getLog, multiStringReplace, setCb, setLog |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- settingService@cbserializable
- trueMethod Detail |
---|
Execute on content translations for pages and blog entries
event
interceptData
settingService
Translate the content
builder
- A java String Buildercontent
- The content objectevent
- The ColdBox event