本文整理汇总了PHP中QuickBooks_Loader::import方法的典型用法代码示例。如果您正苦于以下问题:PHP QuickBooks_Loader::import方法的具体用法?PHP QuickBooks_Loader::import怎么用?PHP QuickBooks_Loader::import使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QuickBooks_Loader
的用法示例。
在下文中一共展示了QuickBooks_Loader::import方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Document class
*/
QuickBooks_Loader::load('/QuickBooks/XML/Document.php');
/**
* XML parser
*/
QuickBooks_Loader::load('/QuickBooks/XML/Parser.php');
/**
* XML backend interface
*/
QuickBooks_Loader::load('/QuickBooks/XML/Backend.php');
/**
* XML parser backends
*/
QuickBooks_Loader::import('/QuickBooks/XML/Backend');
/**
* QuickBooks XML base class
*/
class QuickBooks_XML
{
/**
* Indicates an error *did not* occur
* @var integer
*/
const ERROR_OK = 0;
/**
* Alias of QUICKBOOKS_XML_ERROR_OK
*/
const OK = 0;
/**
示例2:
// XML parser
QuickBooks_Loader::load('/QuickBooks/XML.php');
// Context element (holds application information)
QuickBooks_Loader::load('/QuickBooks/IPP/Context.php');
// IPP XML parser
QuickBooks_Loader::load('/QuickBooks/IPP/Parser.php');
// SAML federation of applications
QuickBooks_Loader::load('/QuickBooks/IPP/Federator.php');
// OAuth
QuickBooks_Loader::load('/QuickBooks/IPP/OAuth.php');
// IntuitAnywhere widgets
QuickBooks_Loader::load('/QuickBooks/IPP/IntuitAnywhere.php');
// IDS (Intuit Data Services) base class
QuickBooks_Loader::load('/QuickBooks/IPP/IDS.php');
// Import all IDS service classes
QuickBooks_Loader::import('/QuickBooks/IPP/Service');
/**
*
*
*
*/
class QuickBooks_IPP
{
const API_ADDRECORD = 'API_AddRecord';
const API_GETBILLINGSTATUS = 'API_GetBillingStatus';
/**
* This is not a real API call!
*/
const API_GETBASEURL = '_getBaseURL_';
const API_GETDBINFO = 'API_GetDBInfo';
const API_GETDBVAR = 'API_GetDBVar';
示例3:
/**
* Encryption/decryption classes
*/
QuickBooks_Loader::load('/QuickBooks/Encryption/Factory.php');
}
if (QUICKBOOKS_FRAMEWORK_CONSTANTS != QUICKBOOKS_FRAMEWORKS) {
/**
* Functions for calling callback functions
*/
QuickBooks_Loader::load('/QuickBooks/Callbacks.php');
}
if (QUICKBOOKS_FRAMEWORK_MISCELLANEOUS & QUICKBOOKS_FRAMEWORKS) {
/**
* Utilities for ensuring values fit into qbXML fields
*/
QuickBooks_Loader::load('/QuickBooks/Cast.php');
}
if (QUICKBOOKS_FRAMEWORK_MERCHANTSERVICE & QUICKBOOKS_FRAMEWORKS) {
/**
* QuickBooks Merchant Service support
*/
QuickBooks_Loader::load('/QuickBooks/MerchantService.php');
}
if (QUICKBOOKS_FRAMEWORK_WEBCONNECTOR & QUICKBOOKS_FRAMEWORKS) {
// Other servers
QuickBooks_Loader::import('/QuickBooks/WebConnector/Server');
}
if (QUICKBOOKS_FRAMEWORK_QBXML & QUICKBOOKS_FRAMEWORKS) {
// Objects for the API
QuickBooks_Loader::import('/QuickBooks/QBXML/Object');
}