Пример #1
0
 /**
  * PAGE: index
  * This method handles the error page that will be shown when a page is not found
  */
 public function index()
 {
     // load views
     View::clientRender("error/index");
 }
Пример #2
0
 public function mostrarArticulo($url)
 {
     $articulo = ArticuloModel::getArticulo($url);
     View::clientRender('articulo/mostrarArticulo', array('titulo' => 'Articulo', 'articulo' => $articulo));
 }
Пример #3
0
 public function logout()
 {
     HelperFunctions::generarSesion();
     session_destroy();
     View::clientRender("acceso/logout");
 }