SproutCMS

This is the code documentation for the SproutCMS project

function run()

Run a controller method using the preview data.
This injects the word 'PREVIEW' into the page title

Usage

void Preview::run ( Controller $ctlr , string $method , array $args );

Arguments

  1. Controller $ctlr
  2. string $method
    The method to run
  3. array $args
    Arguments for the method

Return value

  • void
    This calls echo