當前位置: 首頁>>代碼示例>>PHP>>正文


PHP error::out方法代碼示例

本文整理匯總了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;
開發者ID:vanloswang,項目名稱:kivitendo-crm,代碼行數:31,代碼來源:ArtikelErpToShop.php

示例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;
開發者ID:vanloswang,項目名稱:kivitendo-crm,代碼行數:31,代碼來源:ArtikelShopToErp.php

示例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;
開發者ID:vanloswang,項目名稱:kivitendo-crm,代碼行數:31,代碼來源:BestellungShopToErp.php

示例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);
開發者ID:vanloswang,項目名稱:kivitendo-crm,代碼行數:31,代碼來源:BestellungShopToErp.php


注:本文中的error::out方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。