当前位置: 首页>>代码示例>>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;未经允许,请勿转载。