當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Configuration::deleteByName方法代碼示例

本文整理匯總了PHP中Configuration::deleteByName方法的典型用法代碼示例。如果您正苦於以下問題:PHP Configuration::deleteByName方法的具體用法?PHP Configuration::deleteByName怎麽用?PHP Configuration::deleteByName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Configuration的用法示例。


在下文中一共展示了Configuration::deleteByName方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: uninstall

 function uninstall()
 {
     Configuration::deleteByName('CHECKOUT_SID');
     Configuration::deleteByName('CHECKOUT_SECRET');
     Configuration::deleteByName('CHECKOUT_CURRENCIES');
     parent::uninstall();
 }
開發者ID:priyankajsr19,項目名稱:indusdiva2,代碼行數:7,代碼來源:checkout.php

示例2: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() || !Configuration::deleteByName('MOD_BLOCKTOPMENU_ITEMS') || !Configuration::deleteByName('MOD_BLOCKTOPMENU_HOME') || !$this->unregisterHook('displayNavigationBar') || !$this->uninstallDB()) {
         return false;
     }
     return true;
 }
開發者ID:tmdhosting,項目名稱:TMDHosting-PrestaShop-Technology-Theme,代碼行數:7,代碼來源:blocktopmenu_mod.php

示例3: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() || !BlockCMSModel::DropTables() || !Configuration::deleteByName('FOOTER_CMS') || !Configuration::deleteByName('FOOTER_BLOCK_ACTIVATION') || !Configuration::deleteByName('FOOTER_POWEREDBY')) {
         return false;
     }
     return true;
 }
開發者ID:jicheng17,項目名稱:pengwine,代碼行數:7,代碼來源:blockcms.php

示例4: uninstall

 public function uninstall()
 {
     if (!Configuration::deleteByName('SHOPPING_FLUX_TOKEN') || !Configuration::deleteByName('SHOPPING_FLUX_CANCELED') || !Configuration::deleteByName('SHOPPING_FLUX_SHIPPED') || !Configuration::deleteByName('SHOPPING_FLUX_IMAGE') || !Configuration::deleteByName('SHOPPING_FLUX_TRACKING') || !Configuration::deleteByName('SHOPPING_FLUX_BUYLINE') || !Configuration::deleteByName('SHOPPING_FLUX_ORDERS') || !Configuration::deleteByName('SHOPPING_FLUX_STATUS_SHIPPED') || !Configuration::deleteByName('SHOPPING_FLUX_STATUS_CANCELED') || !Configuration::deleteByName('SHOPPING_FLUX_LOGIN') || !Configuration::deleteByName('SHOPPING_FLUX_INDEX') || !Configuration::deleteByName('SHOPPING_FLUX_STOCKS') || !Configuration::deleteByName('SHOPPING_FLUX_SHIPPING_MATCHING') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
開發者ID:ventsiwad,項目名稱:presta_addons,代碼行數:7,代碼來源:shoppingfluxexport.php

示例5: uninstall

 public function uninstall()
 {
     Configuration::deleteByName('ASKFORPRICE_LIVE_MODE');
     Configuration::deleteByName('ASKFORPRICE_CONTACT');
     Configuration::deleteByName('ASKFORPRICE_MINIMAL_PRICE');
     return parent::uninstall();
 }
開發者ID:jankawulok,項目名稱:askforprice,代碼行數:7,代碼來源:askforprice.php

示例6: uninstall

 public function uninstall ()
 {
     $tab = new Tab(Tab::getIdFromClassName('AdminNewsletter'));
     return parent::uninstall()
             && $tab->delete()
             && Configuration::deleteByName('NSletter_id_parent_tab');;
 }
開發者ID:rsmaizys,項目名稱:Newsletter-Tab-Module-for-PrestaShop,代碼行數:7,代碼來源:newslettertabmodule.php

示例7: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() || !Configuration::deleteByName('MOD_BLOCKTOPMENU_ITEMS') || !Configuration::deleteByName('MOD_BLOCKTOPMENU_SEARCH') || !$this->uninstallDB()) {
         return false;
     }
     return true;
 }
開發者ID:MacFlay,項目名稱:Presta-Domowy,代碼行數:7,代碼來源:blocktopmenu.php

示例8: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() or !$this->unregisterHook('productFooter') or !$this->unregisterHook('header') or !$this->unregisterHook('shoppingCart') or !Configuration::deleteByName('CROSSSELLING_DISPLAY_PRICE')) {
         return false;
     }
     return true;
 }
開發者ID:jicheng17,項目名稱:pengwine,代碼行數:7,代碼來源:crossselling.php

示例9: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() || !Db::getInstance()->execute('DROP TABLE ' . _DB_PREFIX_ . 'tmblocklink1') || !Db::getInstance()->execute('DROP TABLE ' . _DB_PREFIX_ . 'tmblocklink1_lang') || !Db::getInstance()->execute('DROP TABLE ' . _DB_PREFIX_ . 'tmblocklink1_shop') || !Configuration::deleteByName('PS_TMBLOCKLINK1_TITLE') || !Configuration::deleteByName('PS_TMBLOCKLINK1_URL')) {
         return false;
     }
     return true;
 }
開發者ID:carloslastresDev,項目名稱:HealthyTaiwan_UsingPrestaShop,代碼行數:7,代碼來源:tmblocklink1.php

示例10: uninstall

 public function uninstall()
 {
     if (!Configuration::deleteByName('SMT_AFFILIE') or !Configuration::deleteByName('SMT_TEST') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
開發者ID:nacef-labidi,項目名稱:smt4presta,代碼行數:7,代碼來源:smtsps.php

示例11: uninstall

 function uninstall()
 {
     if (!Configuration::deleteByName('IADVIZE_SID') or !Configuration::deleteByName('IADVIZE_BID') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
開發者ID:hecbuma,項目名稱:quali-fisioterapia,代碼行數:7,代碼來源:iadvize.php

示例12: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() || !Configuration::deleteByName('PRODUCTMIRROR_NAME')) {
         return false;
     }
     return true;
 }
開發者ID:nicolasconnault,項目名稱:prestashop_productmirror,代碼行數:7,代碼來源:productmirror.php

示例13: uninstall

 public function uninstall()
 {
     if (!parent::uninstall() or !Db::getInstance()->Execute('DROP TABLE ' . _DB_PREFIX_ . 'blocklink') or !Db::getInstance()->Execute('DROP TABLE ' . _DB_PREFIX_ . 'blocklink_lang') or !Configuration::deleteByName('PS_BLOCKLINK_TITLE') or !Configuration::deleteByName('PS_BLOCKLINK_URL')) {
         return false;
     }
     return true;
 }
開發者ID:greench,項目名稱:prestashop,代碼行數:7,代碼來源:blocklink.php

示例14: uninstall

 public function uninstall()
 {
     foreach ($this->defaults as $default => $value) {
         Configuration::deleteByName($this->config_name . '_' . $default);
     }
     return parent::uninstall();
 }
開發者ID:evgrishin,項目名稱:mh16014,代碼行數:7,代碼來源:iqitpopup.php

示例15: uninstall

 public function uninstall($keep = true)
 {
     if (!parent::uninstall() || !Configuration::deleteByName('EGORMATEKPROD_MANUF') || !$this->unregisterHook('displayTopColumn') || $keep && !$this->deleteTables()) {
         return false;
     }
     return true;
 }
開發者ID:evgrishin,項目名稱:mh16014,代碼行數:7,代碼來源:egsearche.php


注:本文中的Configuration::deleteByName方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。