Framework/Server/Route.php
/**
     * Run the action.
     * Call the method with the same name than the action in the curent controller
     * 
     * @throws Exception If the action does not exist in the curent controller
     */
Run the action.
Call the method with the same name than the action in the curent controller

@throws Exception If the action does not exist in the curent controller
Run the action . Call the method with the same name than the action in the curent controller @throws Exception If the action does not exist in the curent controller
public function runAction($module, $action, $args = array())
    {
        $this->module = $module;
        if (method_exists($this, $action)) {
            $this->action = $action;
            call_user_func_array(array($this, $action), $args);
        } else {
            $classController = get_class($this);
            throw new \Exception("Action '$action' in not defined in the class '$classController'");
        }
    }
public function runAction ( $ module , $ action , $ args = array ( ) ) { $ this -> module = $ module ; if ( method_exists ( $ this , $ action ) ) { $ this -> action = $ action ; call_user_func_array ( array ( $ this , $ action ) , $ args ) ; } else { $ classController = get_class ( $ this ) ; throw new \ Exception ( " Action ' $ action ' in not defined in the class ' $ classController ' " ) ; } }
Run the action.
Run the action .