本文整理汇总了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');
}
示例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');
}
示例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');
}