contentbox.models.content.renderers

Class MarkdownRenderer

lucee.Component
    extended by coldbox.system.FrameworkSupertype
      extended by coldbox.system.Interceptor
        extended by contentbox.models.content.renderers.MarkdownRenderer

Copyright 2009 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com --- This interceptor listens to ContentBox content renderings and it will translate content within ContentBox from Markdown to HTML

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
  • author : Luis Majano
  •  
    Property Summary
    type property default serializable required
    any cb


    • access = public
    • returntype = any
    • inject = id:CBHelper@contentbox
    true false
    any markdown


    • access = public
    • returntype = any
    • inject = Processor@cbmarkdown
    true false
    Method Summary
    void cb_onContentRendering([any event], [struct data])
         Execute on content translations for pages and blog entries.
     
    Methods inherited from class coldbox.system.Interceptor
    cbLoadInterceptorHelpers, configure, getProperties, getProperty, init, propertyExists, setProperties, setProperty, unregister
     
    Methods inherited from class coldbox.system.FrameworkSupertype
    announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    cb

    property any cb

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:CBHelper@contentbox
    serializable - true

    markdown

    property any markdown

    Attributes:
    access - public
    required - false
    returntype - any
    inject - Processor@cbmarkdown
    serializable - true

    Method Detail

    cb_onContentRendering

    public void cb_onContentRendering([any event], [struct data])

    Execute on content translations for pages and blog entries

    Parameters:
    event
    data