Example #1
0
 protected function _postRun()
 {
     parent::_postRun();
     if (isset($this->_registered_hooks['_postRun'][$this->_controller][$this->_action])) {
         $hooks = $this->_registered_hooks['_postRun'][$this->_controller][$this->_action];
         foreach ($hooks as $module => $module_call) {
             $module_obj = Solar::factory("Foresmo_Modules_{$module}", $this->_model);
             if (method_exists($module_obj, $module_call)) {
                 $module_obj->{$module_call}();
             }
         }
     }
     $this->session->setFlash('redirect', array('controller' => $this->_controller, 'action' => $this->_action, 'params' => $this->_info));
 }
Example #2
0
 /**
  * _postRun
  * Insert description here
  * @return
  */
 protected function _postRun()
 {
     parent::_postRun();
 }