This class is the glue that binds all of the Open Web Presence functionality together.
It acts as the controller, logic, and view handler without extreme complexity of an entire MVC framework.
Methods
Constructor
__construct()
method |
|
access |
public |
global |
string $root_path The app root file path. |
global |
string $current_web_root The current web root. |
global |
object $PhpConsole PhpConsole debugger object. |
uses |
|
author |
Brian Tafoya |
version |
1.0 |
action() Triggers the framework logic.
action()
processAction()
processAction(string $action)
method |
Process the framework action. |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$action
string
Exceptions
\Exception |
Include does not exist. |
checkActionPermissions()
checkActionPermissions($action) : boolean
Parameters
$action
Returns
boolean
getActionData()
getActionData($action) : mixed
Parameters
$action
Returns
mixed
Properties
Object holder for dynamically loaded classes
$LoadedClasses : array
Phpconsole object
$PhpConsole : object
The app theme
$THEME : string
Theme specific actions configuration
$actionsConfig : object
Action finally processed after permissions are verified
$actualAction : string
The current web root
$current_web_root : string
Database object
$ezSqlDB : object
Framework object
$frameworkObject : object
The user action requested
$requested_action : string
The app root path
$root_path : string
The user object
$userClass : object
The request's uuid
$uuid : string