SproutCMS

This is the code documentation for the SproutCMS project

function render()

Renders a view.

Usage

void|string $View->render ( [ boolean $print [, callback $renderer ]] );

Arguments

  1. boolean $print = FALSE
    set to TRUE to echo the output instead of returning it
  2. callback $renderer = FALSE
    special renderer to pass the output through

Return value

  • string
    if print is FALSE
  • void
    if print is TRUE