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


PHP sigesp_include::uf_obtener_parametros_conexion方法代码示例

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


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

示例1:

 function sigesp_cxp_c_cmp_islr($as_path)
 {
     require_once $as_path . "shared/class_folder/sigesp_include.php";
     require_once $as_path . "shared/class_folder/class_sql.php";
     require_once $as_path . "shared/class_folder/class_funciones.php";
     require_once $as_path . "shared/class_folder/class_mensajes.php";
     require_once $as_path . "shared/class_folder/sigesp_c_seguridad.php";
     require_once $as_path . "shared/class_folder/class_fecha.php";
     require_once $as_path . "shared/class_folder/class_datastore.php";
     require_once $as_path . "shared/class_folder/sigesp_c_generar_consecutivo.php";
     $this->io_keygen = new sigesp_c_generar_consecutivo();
     $io_include = new sigesp_include();
     $io_connect = $io_include->uf_conectar();
     $this->io_seguridad = new sigesp_c_seguridad();
     $this->io_sql = new class_sql($io_connect);
     $this->io_function = new class_funciones();
     $this->io_msg = new class_mensajes();
     $this->io_fec = new class_fecha();
     $this->DS = new class_datastore();
     $this->ds_detalle = new class_datastore();
     $this->la_empresa = $_SESSION["la_empresa"];
     $this->ls_codusu = $_SESSION["la_logusr"];
     $this->ls_basdatcmp = $_SESSION["la_empresa"]["basdatcmp"];
     if ($this->ls_basdatcmp != "") {
         $io_include->uf_obtener_parametros_conexion($as_path, $this->ls_basdatcmp, &$as_hostname, &$as_login, &$as_password, &$as_gestor);
         if ($as_hostname != "") {
             $this->io_keygen->io_conexion = $io_include->uf_conectar_otra_bd($as_hostname, $as_login, $as_password, $this->ls_basdatcmp, $as_gestor);
             $this->io_keygen->io_sql = new class_sql($this->io_keygen->io_conexion);
             $io_connectaux = $io_include->uf_conectar_otra_bd($as_hostname, $as_login, $as_password, $this->ls_basdatcmp, $as_gestor);
             $this->io_sqlaux = new class_sql($io_connectaux);
         } else {
             $this->io_msg->message("Esta mal configurada la BD integradora");
             print "<script language=JavaScript>";
             print "location.href='sigespwindow_blank.php'";
             print "</script>";
         }
     }
     $this->ls_codemp = $_SESSION["la_empresa"]["codemp"];
 }
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:39,代码来源:sigesp_cxp_c_cmp_islr.php


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