本文整理汇总了PHP中error::out方法的典型用法代码示例。如果您正苦于以下问题:PHP error::out方法的具体用法?PHP error::out怎么用?PHP error::out使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类error
的用法示例。
在下文中一共展示了error::out方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: error
include_once "{$pfad}/error.php";
//Fehlerinstanz
$err = new error($api);
include_once "{$pfad}/dblib.php";
include_once "{$pfad}/pepper.php";
include_once "{$pfad}/erplib.php";
include_once "{$pfad}/Picture.php";
//Bilder
$pict = new picture($ERPftphost, $ERPftpuser, $ERPftppwd, $ERPimgdir, $SHOPftphost, $SHOPftpuser, $SHOPftppwd, $SHOPimgdir, $err);
//$pict->original = false;
//ERP-Instanz
$erpdb = new mydb($ERPhost, $ERPdbname, $ERPuser, $ERPpass, $ERPport, 'pgsql', $err, $debug);
if ($erpdb->db->connected_database_name == $ERPdbname) {
$erp = new erp($erpdb, $err, $divStd, $divVerm, $auftrnr, $kdnum, $preA, $preK, $invbrne, $mwstS, $OEinsPart, $lager, $pricegroup, $staffel, $parent, $ERPusrID);
} else {
$err->out('Keine Verbindung zur ERP', true);
exit;
}
//Shop-Instanz
$shopdb = new mydb($SHOPhost, $SHOPdbname, $SHOPuser, $SHOPpass, $SHOPport, 'mysql', $err, $debug);
if ($shopdb->db->connected_database_name == $SHOPdbname) {
$shop = new pepper($shopdb, $err, $SHOPdbname, $divStd, $divVerm, $minder, $nachn, $versandS, $versandV, $paypal, $treuhand, $mwstLX, $mwstPGLX, $pricegroup, $mwstS, $variantnr, $variant, $pict, $nopic, $nopicerr, $nofiles, $codeLX, $codeS);
} else {
$err->out('Keine Verbindung zum Shop', true);
exit;
}
$max = 100;
$artikel = $erp->getParts($pricegroup, $shopnr, $start, $max);
$lang = $shop->getLang("de");
$cnt = 0;
$errors = 0;
示例2: error
}
}
}
include_once "conf{$shopnr}.php";
include_once "error.php";
//Fehlerinstanz
$err = new error($api);
include_once "dblib.php";
include_once "xtc.php";
include_once "erplib.php";
//ERP-Instanz
$erpdb = new mydb($ERPhost, $ERPdbname, $ERPuser, $ERPpass, $ERPport, 'pgsql', $err, $debug);
if ($erpdb->db->connected_database_name == $ERPdbname) {
$erp = new erp($erpdb, $err, $divStd, $divVerm, $auftrnr, $kdnum, $preA, $preK, $invbrne, $mwstLX, $OEinsPart, $lager, $pricegroup, $ERPusrID);
} else {
$err->out('Keine Verbindung zur ERP', true);
exit;
}
//Shop-Instanz
$shopdb = new mydb($SHOPhost, $SHOPdbname, $SHOPuser, $SHOPpass, $SHOPport, 'mysql', $err, $debug);
if ($shopdb->db->connected_database_name == $SHOPdbname) {
$shop = new xtc($shopdb, $err, $SHOPdbname, $divStd, $divVerm, $minder, $nachn, $versandS, $versandV, $paypal, $treuhand, $mwstLX, $mwstS, $variantnr, $unit);
} else {
$err->out('Keine Verbindung zum Shop', true);
exit;
}
$artikel = $shop->getAllArtikel();
echo "<pre>";
print_r($artikel);
echo "</pre>";
$cnt = 0;
示例3: exit
if (count($tmp) != 2) {
echo "Falscher Aufruf: php <scriptname.php> shop=1\n";
exit(-1);
} else {
$shopnr = $tmp[1];
}
}
}
include_once "conf{$shopnr}.php";
include_once "error.php";
//Fehlerinstanz
$err = new error($api);
include_once "dblib.php";
include_once "xtc.php";
include_once "erplib.php";
$err->out("Shop {$shopnr}, Bestellimport", true);
//ERP-Instanz
$erpdb = new mydb($ERPhost, $ERPdbname, $ERPuser, $ERPpass, $ERPport, 'pgsql', $err, $debug);
if ($erpdb->db->connected_database_name == $ERPdbname) {
$erp = new erp($erpdb, $err, $divStd, $divVerm, $auftrnr, $kdnum, $preA, $preK, $invbrne, $mwstLX, $OEinsPart, $lager, $pricegroup, $ERPusrID);
} else {
$err->out('Keine Verbindung zur ERP', true);
exit;
}
//Shop-Instanz
$shopdb = new mydb($SHOPhost, $SHOPdbname, $SHOPuser, $SHOPpass, $SHOPport, 'mysql', $err, $debug);
if ($shopdb->db->connected_database_name == $SHOPdbname) {
$shop = new xtc($shopdb, $err, $SHOPdbname, $divStd, $divVerm, $minder, $nachn, $versandS, $versandV, $paypal, $mwstLX, $mwstS, $variantnr, $unit);
} else {
$err->out('Keine Verbindung zum Shop', true);
exit;
示例4: trim
${$tmp[0]} = trim($tmp[1]);
}
} else {
$shopnr = false;
$nofiles = false;
}
}
$pfad = getcwd();
include_once "{$pfad}/conf{$shopnr}.php";
include_once "{$pfad}/error.php";
//Fehlerinstanz
$err = new error($api);
include_once "{$pfad}/dblib.php";
include_once "{$pfad}/pepper.php";
include_once "{$pfad}/erplib.php";
$err->out("Shop {$shopnr}, Bestellimport", true);
//ERP-Instanz
$erpdb = new mydb($ERPhost, $ERPdbname, $ERPuser, $ERPpass, $ERPport, 'pgsql', $err, $debug);
if ($erpdb->db->connected_database_name == $ERPdbname) {
$erp = new erp($erpdb, $err, $divStd, $divVerm, $auftrnr, $kdnum, $preA, $preK, $invbrne, $mwstS, $OEinsPart, $lager, $pricegroup, $staffel, $parent, $ERPusrID);
if ($erp->cvarid == 0) {
$err->out('Benutzerdefinierte Variable pepperkunde nicht gesetzt.');
$err->out('Keine Beziehung der Kunden Shop/ERP möglich');
exit;
}
} else {
$err->out('Keine Verbindung zur ERP', true);
exit;
}
//Shop-Instanz
$shopdb = new mydb($SHOPhost, $SHOPdbname, $SHOPuser, $SHOPpass, $SHOPport, 'mysql', $err, $debug);