contentbox.model.content.renderers

Class SettingRenderer

railo-context.Component
        extended by contentbox.model.content.renderers.SettingRenderer
Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  

    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}

    Property Summary
    type property default serializable required
    any cb


    • inject = CBHelper@cb
    true false
    any log


    • inject = logbox:logger:{this}
    true false
    any settingService


    • 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.
    void configure()
         Configure this renderer.
    string getCb()
    string getLog()
    string getSettingService()
    any setCb(any cb)
    any setLog(any log)
    any setSettingService(any settingService)
    private any translateContent(any builder, any content, any event)
         Translate the content.
     
    Methods inherited from class railo-context.Component
    None

    Property Detail

    cb

    property any cb

    Attributes:
    required - false
    inject - CBHelper@cb
    serializable - true

    log

    property any log

    Attributes:
    required - false
    inject - logbox:logger:{this}
    serializable - true

    settingService

    property any settingService

    Attributes:
    required - false
    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

    configure

    public void configure()

    Configure this renderer


    getCb

    public string getCb()


    getLog

    public string getLog()


    getSettingService

    public string getSettingService()


    setCb

    public any setCb(any cb)

    Parameters:
    cb

    setLog

    public any setLog(any log)

    Parameters:
    log

    setSettingService

    public any setSettingService(any settingService)

    Parameters:
    settingService

    translateContent

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

    Translate the content

    Parameters:
    builder
    content
    event