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.

package OwpBaseFramework

 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() 
method
access public
author Brian Tafoya
version 1.0

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
method Returns action data
author Brian Tafoya
version 1.0

Parameters

$action

Returns

boolean

getActionData()

getActionData($action) : mixed
method Returns action data
author Brian Tafoya
version 1.0

Parameters

$action

Returns

mixed

 Properties

 

Object holder for dynamically loaded classes

$LoadedClasses : array

Default

array()
 

Phpconsole object

$PhpConsole : object

Default

 

The app theme

$THEME : string

Default

 

Theme specific actions configuration

$actionsConfig : object

Default

 

Action finally processed after permissions are verified

$actualAction : string

Default

 

The current web root

$current_web_root : string

Default

 

Database object

$ezSqlDB : object

Default

 

Framework object

$frameworkObject : object

Default

 

The user action requested

$requested_action : string

Default

 

The app root path

$root_path : string

Default

 

The user object

$userClass : object

Default

 

The request's uuid

$uuid : string

Default