src/OwpBaseFramework.inc.php
public function processAction($action)
    {
        $actionData = $this->getActionData($action);

        if(!$actionData) {
            $actionData = $this->getActionData("404");
        }

        $mod_includes = array();
        $mod_includes[] = $this->root_path . join(DIRECTORY_SEPARATOR, array('app', 'themes', $_ENV["THEME"], 'lib', "OwpFunctions.inc.php"));

        if($actionData && $actionData["mod"]) {
            $mod_includes = array_merge($mod_includes, $actionData["mod"]);
        }

        if($mod_includes) {
            foreach($mod_includes as $mi) {
                if(file_exists($mi)) {
                    $classes = OwpSupportMethods::file_get_php_classes($mi);
                    include $mi;
                    foreach($classes as $class_name) {
                        $this->LoadedClasses[$class_name] = new $class_name($this->frameworkObject);
                    }
                } else {
                    throw new Exception("Mod include " . $mi . " not found!", 911);
                }
            }
        }

        $view_includes = array();
        if($actionData && $actionData["view"]) {
            $view_includes = array_merge($view_includes, $actionData["view"]);
        }

        if($view_includes) { foreach($view_includes as $vi) {
                if(file_exists($vi)) {
                    include $vi;
                } else {
                    throw new Exception("View include " . $vi . " not found!", 911);
                }
        }
        }
    }
public function processAction($action)
    {
        $actionData = $this->getActionData($action);

        if(!$actionData) {
            $actionData = $this->getActionData("404");
        }

        $mod_includes = array();
        $mod_includes[] = $this->root_path . join(DIRECTORY_SEPARATOR, array('app', 'themes', $_ENV["THEME"], 'lib', "OwpFunctions.inc.php"));

        if($actionData && $actionData["mod"]) {
            $mod_includes = array_merge($mod_includes, $actionData["mod"]);
        }

        if($mod_includes) {
            foreach($mod_includes as $mi) {
                if(file_exists($mi)) {
                    $classes = OwpSupportMethods::file_get_php_classes($mi);
                    include $mi;
                    foreach($classes as $class_name) {
                        $this->LoadedClasses[$class_name] = new $class_name($this->frameworkObject);
                    }
                } else {
                    throw new Exception("Mod include " . $mi . " not found!", 911);
                }
            }
        }

        $view_includes = array();
        if($actionData && $actionData["view"]) {
            $view_includes = array_merge($view_includes, $actionData["view"]);
        }

        if($view_includes) { foreach($view_includes as $vi) {
                if(file_exists($vi)) {
                    include $vi;
                } else {
                    throw new Exception("View include " . $vi . " not found!", 911);
                }
        }
        }
    }
processAction()

@method void processAction() Process the framework action.
@access public
@param  string $action
@throws Exception Include does not exist.

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