Esempio n. 1
0
 /**
  * Renders output with given template
  *
  * @param string $template Name of the template to be rendererd
  * @param array $args Args for view
  */
 protected function render($template, $args = array())
 {
     if (isset($_SESSION['formData'])) {
         $args = array_merge($_SESSION['formData'], $args);
         unset($_SESSION['formData']);
     }
     parent::render($template, $args);
 }