![]() |
|
Base for all application controllers. More...
Public Member Functions | |
Controller () | |
__destruct () | |
![]() | |
Dispersion () | |
emptyLayout () | |
set ($name, $value) | |
_set ($name, $value) | |
insertView ($name, $index=-1) | |
Data Fields | |
$template | |
$url | |
![]() | |
$model_ob = null | |
$debug_ob = null | |
$_variables = array() | |
$_content = array() | |
$_content_count = 0 | |
$model | |
$debug | |
Protected Member Functions | |
before () | |
getIp () | |
isAjax () | |
jsonRespond ($response) | |
![]() | |
requireConfigFile ($file_name, $required=false) | |
Base for all application controllers.
Extends the main Dispersion class, therefore provides access to all autoloaded libraries.
__destruct | ( | ) |
On destruct load view files
Controller | ( | ) |
Constructor
|
protected |
Hook to extend in controllers.
|
protected |
Get clients ip
|
protected |
Check if the request is an ajax request.
|
protected |
Respond to a json request
string | $response |
$template |
Template : Contains the template object
$url |
Url : Contains the url object