public function Modulos() { $data = array(); $objpermisos = new Permisos(); $data['mod'] = $objpermisos->Modulos($_GET['idperfil']); $data['idperfil'] = $_GET['idperfil']; $view = new View(); $view->setData($data); $view->setTemplate('../view/Permisos/_Modulos.php'); echo $view->renderPartial(); }