Example #1
0
 /**
  * Set the current view to render.
  *
  * @param string $view The name of the view file to render as content.
  *
  * @return void
  */
 public static function set_view($view = null)
 {
     if (empty($view) || !is_string($view)) {
         return;
     }
     self::$current_view = $view;
 }