當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。