SproutCMS

This is the code documentation for the SproutCMS project

function set()

Sets a view variable.

Usage

object $View->set ( 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

  • object