contentbox.models.content.renderers

Class SettingRenderer

lucee.Component
    extended by contentbox.models.content.renderers.BaseRenderer
      extended by 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 tags

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any settingService


    • access = public
    • returntype = any
    • inject = settingService@cb
    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

    settingService

    property any settingService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - settingService@cb
    serializable - true

    Method Detail

    cb_onContentRendering

    public void cb_onContentRendering(any event, [struct interceptData='[runtime expression]'])

    Execute on content translations for pages and blog entries

    Parameters:
    event
    interceptData

    getSettingService

    public string getSettingService()


    setSettingService

    public any setSettingService(any settingService)

    Parameters:
    settingService

    translateContent

    private any translateContent(any builder, any content, any event)

    Translate the content

    Parameters:
    builder - A java String Builder
    content - The content object
    event - The ColdBox event