Example #1
0
 function cambiaEstado()
 {
     $idRol = $_REQUEST['id'];
     $a = new Rol();
     $exito = $a->EstadoRol($idRol);
     if ($exito) {
         $ruta['ruta'] = "/rol/listado";
         $this->view->show("ruteador.phtml", $ruta);
     }
 }