当前位置: 首页>>代码示例>>PHP>>正文


PHP usuario::obtenerSelect方法代码示例

本文整理汇总了PHP中usuario::obtenerSelect方法的典型用法代码示例。如果您正苦于以下问题:PHP usuario::obtenerSelect方法的具体用法?PHP usuario::obtenerSelect怎么用?PHP usuario::obtenerSelect使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在usuario的用法示例。


在下文中一共展示了usuario::obtenerSelect方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: index

 function index()
 {
     //PARA LOS SELECT DEL FORM
     $series = new series();
     $this->registry->template->optSerie = $series->obtenerSelectTodas();
     $unidad = new unidad();
     $this->registry->template->optUnidad = $unidad->obtenerSelect();
     $usuario = new usuario();
     $this->registry->template->optUsuario = $usuario->obtenerSelect();
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "verRepTransferencia";
     $this->registry->template->GRID_SW = "true";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     $this->menu = new menu();
     $liMenu = $this->menu->imprimirMenu("rpteTransCustodios", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->show('headerG');
     $this->registry->template->show('transferencia/tab_rpteTransferencia.tpl');
     $this->registry->template->show('footer');
 }
开发者ID:acastellon,项目名称:pasajes_viaticos,代码行数:21,代码来源:rpteTransferenciaController.php

示例2: view

 function view()
 {
     $usuario = new usuario();
     $this->registry->template->usur_id = $usuario->obtenerNombre($_SESSION['USU_ID']);
     $this->registry->template->usu_id = $usuario->obtenerSelect();
     $this->registry->template->usua_id = $usuario->obtenerSelectAdmin();
     $this->registry->template->spr_fecent = date('Y-m-d');
     $this->registry->template->spr_fecdev = date('Y-m-d');
     $tmenu = new menu();
     $liMenu = $tmenu->imprimirMenu("solprestamo", $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $liMenu;
     $this->registry->template->UNI_ID = $_SESSION['UNI_ID'];
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "search";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     $this->registry->template->PATH_EVENT_LISTA = "guardarLista";
     $this->registry->template->show('headerG');
     $this->registry->template->show('prestamos/tab_solprestamos.tpl');
     $this->registry->template->show('footer');
 }
开发者ID:acastellon,项目名称:pasajes_viaticos,代码行数:22,代码来源:solprestamoController.php

示例3: add

 function add()
 {
     $contenedor = new contenedor();
     $this->registry->template->con_id = "";
     $this->registry->template->tipo_contenedores = $contenedor->obtenerTiposContenedor("");
     $this->registry->template->con_codigo = "";
     $this->registry->template->con_codbs = "";
     $usuario = new usuario();
     $adm = $usuario->esAdm();
     if ($adm) {
         $sel_usu = '<select name="usu_id" id="usu_id" class="required">';
         $sel_usu .= '<option value="">(seleccionar)</option>';
         $sel_usu .= $usuario->obtenerSelect($_SESSION['USU_ID']);
         $sel_usu .= '</select>';
         $this->registry->template->usuario = $sel_usu;
     } else {
         $this->registry->template->usuario = $usuario->obtenerNombre($_SESSION['USU_ID']);
         $this->registry->template->usu_id = $_SESSION['USU_ID'];
     }
     $this->registry->template->adm = $adm;
     $this->registry->template->PATH_WEB = PATH_WEB;
     $this->registry->template->PATH_CONTROLADOR = 'contenedor';
     $this->registry->template->PATH_DOMAIN = PATH_DOMAIN;
     $this->registry->template->PATH_EVENT = "save";
     $this->registry->template->GRID_SW = "false";
     $this->registry->template->PATH_J = "jquery-1.4.1";
     $this->menu = new menu();
     $this->liMenu = $this->menu->imprimirMenu(VAR1, $_SESSION['USU_ID']);
     $this->registry->template->men_titulo = $this->liMenu;
     $this->registry->template->show('headerG');
     $this->registry->template->show('tab_contenedor.tpl');
     $this->registry->template->show('footer');
 }
开发者ID:acastellon,项目名称:pasajes_viaticos,代码行数:33,代码来源:contenedorController.php


注:本文中的usuario::obtenerSelect方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。