Пример #1
0
 public function render_result($resultName)
 {
     $runner = ActionRunner::getInstance();
     if ($result = $runner->getResult($resultName)) {
         $view = new View();
         $view->result = $result;
         return $view->render('@CoreBundle/phifty/action_result_box.html');
     }
 }
Пример #2
0
 public function get_result($resultName)
 {
     $runner = ActionRunner::getInstance();
     return $runner->getResult($resultName);
 }