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'); } }
public function get_result($resultName) { $runner = ActionRunner::getInstance(); return $runner->getResult($resultName); }