本文整理汇总了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"];
}