本文整理汇总了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();
}
示例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;
}
示例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;
}
示例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;
}
示例5: uninstall
public function uninstall()
{
Configuration::deleteByName('ASKFORPRICE_LIVE_MODE');
Configuration::deleteByName('ASKFORPRICE_CONTACT');
Configuration::deleteByName('ASKFORPRICE_MINIMAL_PRICE');
return parent::uninstall();
}
示例6: uninstall
public function uninstall ()
{
$tab = new Tab(Tab::getIdFromClassName('AdminNewsletter'));
return parent::uninstall()
&& $tab->delete()
&& Configuration::deleteByName('NSletter_id_parent_tab');;
}
示例7: uninstall
public function uninstall()
{
if (!parent::uninstall() || !Configuration::deleteByName('MOD_BLOCKTOPMENU_ITEMS') || !Configuration::deleteByName('MOD_BLOCKTOPMENU_SEARCH') || !$this->uninstallDB()) {
return false;
}
return true;
}
示例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;
}
示例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;
}
示例10: uninstall
public function uninstall()
{
if (!Configuration::deleteByName('SMT_AFFILIE') or !Configuration::deleteByName('SMT_TEST') or !parent::uninstall()) {
return false;
}
return true;
}
示例11: uninstall
function uninstall()
{
if (!Configuration::deleteByName('IADVIZE_SID') or !Configuration::deleteByName('IADVIZE_BID') or !parent::uninstall()) {
return false;
}
return true;
}
示例12: uninstall
public function uninstall()
{
if (!parent::uninstall() || !Configuration::deleteByName('PRODUCTMIRROR_NAME')) {
return false;
}
return true;
}
示例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;
}
示例14: uninstall
public function uninstall()
{
foreach ($this->defaults as $default => $value) {
Configuration::deleteByName($this->config_name . '_' . $default);
}
return parent::uninstall();
}
示例15: uninstall
public function uninstall($keep = true)
{
if (!parent::uninstall() || !Configuration::deleteByName('EGORMATEKPROD_MANUF') || !$this->unregisterHook('displayTopColumn') || $keep && !$this->deleteTables()) {
return false;
}
return true;
}