• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP oxRemClassModule函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中oxRemClassModule函数的典型用法代码示例。如果您正苦于以下问题:PHP oxRemClassModule函数的具体用法?PHP oxRemClassModule怎么用?PHP oxRemClassModule使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了oxRemClassModule函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: tearDown

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


示例17: tearDown

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


示例18: tearDown

 /**
  * Tear down the fixture.
  *
  * @return null
  */
 protected function tearDown()
 {
     $oUser = oxNew('oxUser');
     if ($oUser->loadActiveUser()) {
         $oUser->logout();
     }
     $oUser->setAdminMode(null);
     oxRegistry::getSession()->deleteVariable('deladrid');
     $this->getSession()->setVariable('usr', null);
     $this->getSession()->setVariable('auth', null);
     // resetting globally admin mode
     // removing email wrapper module
     oxRemClassModule('Unit\\Application\\Model\\UserTest_oxNewsSubscribed');
     oxRemClassModule('Unit\\Application\\Model\\UserTest_oxUtilsServerHelper');
     oxRemClassModule('Unit\\Application\\Model\\UserTest_oxUtilsServerHelper2');
     oxRemClassModule('Unit\\Application\\Model\\oxEmailHelper');
     // removing users
     foreach ($this->_aUsers as $sUserId => $oUser) {
         /** @var oxUser $oUser */
         $oUser->delete($sUserId);
         unset($this->_aUsers[$sUserId]);
     }
     // restore database
     $oDbRestore = self::_getDbRestore();
     $oDbRestore->restoreDB();
     parent::tearDown();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:32,代码来源:UserTest.php


示例19: tearDown

 /**
  * Tear down the fixture.
  *
  * @return null
  */
 protected function tearDown()
 {
     oxRemClassModule('Unit\\Application\\Model\\modOxDelivery');
     $this->cleanUpTable('oxdelivery');
     $this->cleanUpTable('oxobject2delivery');
     $this->cleanUpTable('oxarticles');
     parent::tearDown();
 }
开发者ID:Alpha-Sys,项目名称:oxideshop_ce,代码行数:13,代码来源:DeliveryTest.php


示例20: tearDown

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP oxy_get_option函数代码示例发布时间:2022-05-15
下一篇:
PHP oxNew函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap