Layout-View Events

Interception Point Intercept Structure Description
preLayout --- This occurs before any rendering or layout is executed
preRender {renderedContent} This occurs after the layout+view is rendered and this event receives the produced content
postRender --- This occurs after the content has been rendered to the buffer output
preViewRender
  • view - The name of the view to render
  • cache - If the view will be cached
  • cacheTimeout - The cache timeout
  • cacheLastAccessTimeout - The idle timeout of the view
  • cacheLastAccessTimeout - The idle timeout of the view
  • cacheSuffix - A suffix to append to the cacheable key name
  • module - The module name of the view if any
  • args - The arguments to pass into the view
  • collection - The collection this view will iterate on
  • collectionAs - The alias of the collection name
  • collectionStartRow - The start row of the collection iteration
  • collectionMaxRows - The max rows of the collection iteration
  • collectionDelim - The delimiter used for the collection iteration
This occurs before any view is rendered
postViewRender All of the data above plus:
  • renderedView - The view contents that was rendered
    This occurs after any view is rendered and passed the produced content
    preLayoutRender
    • layout - The name of the layout to render
    • view - The name of the view to render if any
    • module - The module name of the layout if any
    • args - The arguments to pass into the layout + view (if any)
    • viewModule - The name of the module the view will be rendered from
    This occurs before any layout is rendered
    postLayoutRender Everything above plus:
    • renderedLayout - The layout + view contents that was rendered
    This occurs after any layout is rendered and passed the produced content

    results matching ""

      No results matching ""