Exemplo n.º 1
0
 /**
  * Cambia el view y opcionalmente el template
  *
  * @param string $view nombre del view a utilizar sin .phtml
  * @param string $template	opcional nombre del template a utilizar sin .phtml
  */
 public static function select($view, $template = FALSE)
 {
     self::$_view = $view;
     // verifica si se indico template
     if ($template !== FALSE) {
         self::$_template = $template;
     }
 }