SproutCMS

This is the code documentation for the SproutCMS project

function setGlobal()

Sets a view global variable.

Usage

void View::setGlobal ( string|array $name [, mixed $value ] );

Arguments

  1. string|array $name
    name of variable or an array of variables
  2. mixed $value = NULL
    value when using a named variable

Return value

  • void