src/OwpBaseFramework.inc.php
public function action()
    {
        switch($this->requested_action) {
        default:
            $hasPermission = $this->checkActionPermissions($this->requested_action);
            $this->actualAction = ($hasPermission?$this->requested_action:$this->frameworkObject["frameworkVariables"]["default_action"]);

            $this->processAction($this->actualAction);
            break;
        case "ajaxDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpAjaxUdf.inc.php"));
            break;
        case "jsAssetsDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpjsAssets.inc.php"));
            break;
        case "cssAssetsDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpcssAssets.inc.php"));
            break;
        case "ajax":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpAjaxUdf.inc.php"));
            $OwpAjaxUdf = new OwpAjaxUdf();
            $OwpAjaxUdf->processAction($this->frameworkObject);
            break;
        case "jsAssets":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpjsAssets.inc.php"));
            break;
        case "cssAssets":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpcssAssets.inc.php"));
            break;
        }
    }
public function action()
    {
        switch($this->requested_action) {
        default:
            $hasPermission = $this->checkActionPermissions($this->requested_action);
            $this->actualAction = ($hasPermission?$this->requested_action:$this->frameworkObject["frameworkVariables"]["default_action"]);

            $this->processAction($this->actualAction);
            break;
        case "ajaxDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpAjaxUdf.inc.php"));
            break;
        case "jsAssetsDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpjsAssets.inc.php"));
            break;
        case "cssAssetsDefault":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes","default","lib","OwpcssAssets.inc.php"));
            break;
        case "ajax":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpAjaxUdf.inc.php"));
            $OwpAjaxUdf = new OwpAjaxUdf();
            $OwpAjaxUdf->processAction($this->frameworkObject);
            break;
        case "jsAssets":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpjsAssets.inc.php"));
            break;
        case "cssAssets":
            include $this->root_path.join(DIRECTORY_SEPARATOR, array("app","themes",$this->THEME,"lib","OwpcssAssets.inc.php"));
            break;
        }
    }
action() Triggers the framework logic.

@method void action()
@access public

@author  Brian Tafoya <btafoya@briantafoya.com>
@version 1.0