本文整理汇总了PHP中oxRemClassModule函数的典型用法代码示例。如果您正苦于以下问题:PHP oxRemClassModule函数的具体用法?PHP oxRemClassModule怎么用?PHP oxRemClassModule使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了oxRemClassModule函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxTestModules::addFunction('oxVendor', 'cleanRootVendor', '{oxVendor::$_aRootVendor = array();}');
oxNew('oxvendor')->cleanRootVendor();
oxRemClassModule('oxUtilsHelper');
parent::tearDown();
}
示例2: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxRemClassModule('modoxdeliverylist_oxorder');
$this->cleanUpTable('oxorder');
$this->cleanUpTable('oxorderarticles');
$this->cleanUpTable('oxdeliveryset');
$this->cleanUpTable('oxpayments');
$this->cleanUpTable('oxwrapping');
$this->cleanUpTable('oxarticles');
$this->cleanUpTable('oxorderarticles');
$this->cleanUpTable('oxuserbaskets');
$this->cleanUpTable('oxuserbaskets', 'oxuserid');
$this->cleanUpTable('oxuserbasketitems');
$this->cleanUpTable('oxarticles');
$this->cleanUpTable('oxpayments');
$this->cleanUpTable('oxuser');
$this->cleanUpTable('oxdelivery');
$this->cleanUpTable('oxdiscount');
$this->cleanUpTable('oxobject2discount');
$this->cleanUpTable('oxdel2delset');
$this->cleanUpTable('oxobject2delivery');
$this->cleanUpTable('oxselectlist');
$this->cleanUpTable('oxobject2selectlist');
$this->cleanUpTable('oxorderarticles', 'oxorderid');
$this->cleanUpTable('oxuserpayments', 'oxuserid');
$this->cleanUpTable('oxvouchers');
$this->cleanUpTable('oxvouchers', 'oxorderid');
$this->cleanUpTable('oxvoucherseries');
$oDb = oxDb::getDb();
$oDb->execute("delete from oxuserbasketitems");
$oDb->execute("delete from oxuserbaskets");
oxArticleHelper::cleanup();
parent::tearDown();
}
示例3: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxRemClassModule('modOxUtilsDate');
$this->cleanUpTable('oxobject2discount');
$this->cleanUpTable('oxcategories');
parent::tearDown();
}
示例4: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxTestModules::addFunction('oxManufacturer', 'cleanRootManufacturer', '{oxManufacturer::$_aRootManufacturer = array();}');
oxNew('oxManufacturer')->cleanRootManufacturer();
oxRemClassModule('modUtils_oxManufacturerlist');
parent::tearDown();
}
示例5: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
$this->getConfig()->setGlobalParameter('listtype', null);
oxRemClassModule('oxCacheHelper');
$this->cleanUpTable('oxobject2attribute');
// ensure modules detached
oxTestModules::cleanAllModules();
$oDB = oxDb::getDB();
$oDB->execute('delete from oxaccessoire2article where oxarticlenid="_testArt" ');
$oDB->execute("update oxattribute set oxdisplayinbasket = 0 where oxid = '8a142c3f0b9527634.96987022' ");
$this->cleanUpTable('oxarticles');
$this->cleanUpTable('oxartextends');
$this->cleanUpTable('oxcategories');
$this->cleanUpTable('oxorderarticles');
$this->cleanUpTable('oxprice2article', 'oxartid');
$this->cleanUpTable('oxobject2category');
$this->cleanUpTable('oxobject2category', 'oxobjectid');
$this->cleanUpTable('oxobject2category', 'oxcatnid');
$this->cleanUpTable('oxreviews');
$this->cleanUpTable('oxdiscount');
$oDB->Execute('delete from oxselectlist where oxid = "_testoxsellist" ');
$oDB->Execute('delete from oxobject2selectlist where oxselnid = "_testoxsellist" ');
oxDb::getInstance()->resetTblDescCache();
parent::tearDown();
}
示例6: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
$this->_oObj->delete();
$this->cleanUpTable('oxdelivery');
$this->cleanUpTable('oxdel2delset');
parent::tearDown();
oxRemClassModule('contentTest_oxUtilsView');
}
示例7: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
$myDB = oxDb::getDB();
$sQ = 'delete from oxuser where oxid="test"';
$myDB->Execute($sQ);
$this->cleanUpTable('oxreviews');
oxRemClassModule('modOxUtilsDate');
parent::tearDown();
}
示例8: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
$this->cleanUpTable('oxlinks');
$this->cleanUpTable('oxorder');
$this->cleanUpTable('oxcontents');
$this->cleanUpTable('oxobject2category');
oxRemClassModule('modOxLinks_oxAdminView');
parent::tearDown();
}
示例9: tearDown
/**
* Tear down the fixture.
*/
public function tearDown()
{
oxRemClassModule('Unit\\Core\\modOxUtilsObject_oxUtilsObject');
$oArticle = oxNew('oxArticle');
$oArticle->delete('testArticle');
oxRegistry::get("oxConfigFile")->setVar('blDoNotDisableModuleOnError', $this->getConfigParam('blDoNotDisableModuleOnError'));
oxRegistry::get("oxConfigFile")->setVar("sShopDir", $this->getConfigParam('sShopDir'));
parent::tearDown();
}
示例10: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxRemClassModule('modOxArticle_oxUserBasketItem');
$oArticle = oxNew('oxArticle');
$oArticle->delete('xxx');
$oSel = oxNew('oxbase');
$oSel->init('oxselectlist');
$oSel->delete('xxx');
$oSel->delete('yyy');
parent::tearDown();
}
示例11: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
oxRemClassModule('oxDb_noActiveSnippetInDeliveryList');
oxRemClassModule('modOxDeliverySetList');
$this->cleanUpTable('oxuser');
$this->cleanUpTable('oxaddress');
$this->cleanUpTable('oxdeliveryset');
$this->cleanUpTable('oxdelivery');
$this->cleanUpTable('oxobject2delivery');
$this->cleanUpTable('oxdel2delset');
oxRegistry::getSession()->deleteVariable('deladrid');
parent::tearDown();
}
示例12: tearDown
/**
* Tear down the fixture.
*/
protected function tearDown()
{
// deleting demo items
if ($this->oArticle) {
$this->oArticle->delete();
}
if ($this->oCategory) {
$this->oCategory->delete();
}
oxTestModules::addFunction('oxVatSelector', 'clear', '{ oxVatSelector::$_aUserVatCache = array();}');
oxNew('oxVatSelector')->clear();
oxRemClassModule('oxVatSelector');
parent::tearDown();
}
示例13: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
$oOrder = oxNew('oxorder');
$oOrder->delete('_testOrder');
$oArticle = oxNew('oxArticle');
$oArticle->delete('_testArticle');
$this->cleanUpTable('oxorder');
oxRemClassModule('modOxOrder_orderArticle');
parent::tearDown();
}
示例14: cleanUp
/**
* clean Ups loaded modules
*
* @static
* @access public
* @return void
*/
public static function cleanUp()
{
self::$_aModuleMap = array();
self::$_oOrigOxUtilsObj = null;
foreach (self::$_addedmods as $class => $arr) {
// foreach ($arr as $mod) {
oxRemClassModule('allmods', $class);
// }
}
self::$_addedmods = array();
}
示例15: tearDown
/**
* Tear down the fixture.
*
* @return null
*/
protected function tearDown()
{
//remove data from db
$this->cleanUpTable('oxuser');
$this->cleanUpTable('oxaddress');
$this->cleanUpTable('oxobject2group', 'oxobjectid');
oxRemClassModule('modOxUtils_order');
oxRemClassModule('modOxUtilsObject_order');
oxRemClassModule('modOxOrder_order');
oxRemClassModule('modOxPayment_order');
parent::tearDown();
}