\Controller

Controller Class

Summary

Methods
Properties
Constants
__construct()
execute()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $path, array  $context = array()) 

Constructor

Parameters

string $path

Path to search for controllers

array $context

execute()

execute(string  $controller, array  $_DATA = array()) 

Execute a controller file $_DATA in the controller file to refer to what's been passed to it

Parameters

string $controller

Filename

array $_DATA

Data to pass to the controller