contentbox.models.content.renderers

Class LinkRenderer

lucee.Component
    extended by contentbox.models.content.renderers.BaseRenderer
      extended by contentbox.models.content.renderers.LinkRenderer

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A content renderer that transforms _page:XX_ and _entry:XX_ into page and entry links

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Method Summary
    void cb_onContentRendering([any event], [struct data])
         Execute on content translations for pages and blog entries.
    private any determineSlug(any tagString)
         Determine slug from incoming string.
    private any translateContent(any builder, any content)
         Translate content.
     
    Methods inherited from class contentbox.models.content.renderers.BaseRenderer
    configure, getCb, getLog, multiStringReplace, setCb, setLog
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    cb_onContentRendering

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

    Execute on content translations for pages and blog entries

    Parameters:
    event
    data

    determineSlug

    private any determineSlug(any tagString)

    Determine slug from incoming string

    Parameters:
    tagString - The tag string

    translateContent

    private any translateContent(any builder, any content)

    Translate content

    Parameters:
    builder - java.lang.StringBuilder that contains all the content to manipulate
    content - The content object that requested translation