当前位置: 首页>>代码示例>>PHP>>正文


PHP oxRemClassModule函数代码示例

本文整理汇总了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();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:12,代码来源:VendorlistTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:39,代码来源:oxorderTest.php

示例3: tearDown

 /**
  * Tear down the fixture.
  *
  * @return null
  */
 protected function tearDown()
 {
     oxRemClassModule('modOxUtilsDate');
     $this->cleanUpTable('oxobject2discount');
     $this->cleanUpTable('oxcategories');
     parent::tearDown();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:12,代码来源:oxdiscountlistTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:12,代码来源:oxmanufacturerlistTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:30,代码来源:oxarticleTest.php

示例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');
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:13,代码来源:contentTest.php

示例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();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:14,代码来源:ReviewTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:14,代码来源:oxadmindetailsTest.php

示例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();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:12,代码来源:UtilsobjectTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:16,代码来源:oxuserbasketitemTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:18,代码来源:oxdeliverysetlistTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:17,代码来源:oxvatselectorTest.php

示例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();
 }
开发者ID:Crease29,项目名称:oxideshop_ce,代码行数:15,代码来源:orderarticleTest.php

示例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();
 }
开发者ID:suabo,项目名称:oxid_modules_config,代码行数:18,代码来源:test_utils.php

示例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();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:17,代码来源:OrderTest.php


注:本文中的oxRemClassModule函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。