Base Controller Class

package miniMVC
subpackage System

 Methods

Create the controller object

__construct() : void

Function for loading a model into the current class

load_model(string $file, array $args) : void

Parameters

$file

string

$args

array

Function for loading a view

load_view(string $file, array $data, bool $return) : mixed

Parameters

$file

string

$data

array

$return

bool

Returns

mixed

 Properties

 

Instance of Page class

$page : \miniMVC\Page