Example #1
0
 public function run()
 {
     parent::run();
     $method = 'on' . ucfirst($this->action);
     if (method_exists($this, $method)) {
         $this->{$method}();
         $this->renderOptions();
     } else {
         $this->mergeToResponse($this->_steps->current->run());
     }
     return $this->response;
 }
Example #2
0
 public function setAction($value)
 {
     parent::setAction($value);
     $this->_actions->current = $value;
 }