SproutCMS

This is the code documentation for the SproutCMS project

function __construct()

Attempts to load a view and pre-load view data.

Usage

void $View->__construct ( string $name , array $data );

Arguments

  1. string $name
    view name
  2. array $data
    pre-load data

Exceptions thrown

Return value

  • void