示例#1
0
文件: Deptos.php 项目: nilzao/EcmFlow
 public function lst()
 {
     $Deptos = knl_dao_knl_depto::getInstance();
     $lstDpto = $Deptos->selectAll();
     //print_r($arrayx);
     $vl = knl_view_Loader::getInstance();
     $vl->setVar("deptos", $lstDpto);
     $vl->display("DeptoList");
 }
示例#2
0
 public function lstdepto()
 {
     $request = knl_lib_Registry::getRequestObj()->getInstance();
     $usuario = knl_dao_knl_usuario::getInstance()->selectById($request->GetGet("id_usu"));
     $Deptos = knl_dao_knl_depto::getInstance();
     $arrayDpto = $Deptos->selectAll();
     $vl = knl_view_Loader::getInstance();
     $vl->setVar("deptos", $arrayDpto);
     $vl->setVar("usuario", $usuario);
     $vl->display("UserDepto");
 }