本文整理汇总了PHP中Module::uninstall方法的典型用法代码示例。如果您正苦于以下问题:PHP Module::uninstall方法的具体用法?PHP Module::uninstall怎么用?PHP Module::uninstall使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Module
的用法示例。
在下文中一共展示了Module::uninstall方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: uninstall
public function uninstall()
{
if (!parent::uninstall() || !$this->uninstallDB()) {
return false;
}
return true;
}
示例2: uninstall
public function uninstall()
{
if (!parent::uninstall() || !Configuration::deleteByName('ELEVATEZOOM_PRODUCT') || !Configuration::deleteByName('ELEVATEZOOM_ZOOM_TYPE') || !Configuration::deleteByName('ELEVATEZOOM_FADE_IN') || !Configuration::deleteByName('ELEVATEZOOM_FADE_OUT') || !Configuration::deleteByName('ELEVATEZOOM_WINDOW_POS') || !Configuration::deleteByName('ELEVATEZOOM_SCROLL') || !Configuration::deleteByName('ELEVATEZOOM_EASING') || !Configuration::deleteByName('ELEVATEZOOM_CURSOR_TYPE') || !Configuration::deleteByName('ELEVATEZOOM_TINT') || !Configuration::deleteByName('ELEVATEZOOM_TINT_COLOR') || !Configuration::deleteByName('ELEVATEZOOM_TINT_OPACITY') || !Configuration::deleteByName('ELEVATEZOOM_LENS_SHAPE') || !Configuration::deleteByName('ELEVATEZOOM_LENS_SIZE') || !Configuration::deleteByName('ELEVATEZOOM_EXTRA_PARAMS') || !Configuration::deleteByName('ELEVATEZOOM_OTHER') || !Configuration::deleteByName('ELEVATEZOOM_OTHER_CODE')) {
return false;
}
return true;
}
示例3: uninstall
public function uninstall()
{
if (!parent::uninstall() || !$this->deleteTables() || !Configuration::deleteByName('PRODUCT_COMMENTS_MODERATE') || !Configuration::deleteByName('PRODUCT_COMMENTS_ALLOW_GUESTS') || !Configuration::deleteByName('PRODUCT_COMMENTS_MINIMAL_TIME') || !$this->unregisterHook('extraProductComparison') || !$this->unregisterHook('productOutOfStock') || !$this->unregisterHook('productTabContent') || !$this->unregisterHook('header') || !$this->unregisterHook('productTab')) {
return false;
}
return true;
}
示例4: uninstall
public function uninstall()
{
if (!parent::uninstall() || !Configuration::deleteByName('MOD_BLOCKTOPMENU_ITEMS') || !Configuration::deleteByName('MOD_BLOCKTOPMENU_SEARCH') || !$this->uninstallDB()) {
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()
{
if (!parent::uninstall() || !Configuration::delete('MOD_BLOCKHOMECATS_CATS')) {
return false;
}
return true;
}
示例7: uninstall
public function uninstall()
{
if (!$this->uninstallTab() || !parent::uninstall()) {
return false;
}
return Db::getInstance()->Execute('DROP TABLE IF EXISTS `' . _DB_PREFIX_ . 'ganalytics`');
}
示例8: uninstall
function uninstall()
{
if (!Configuration::deleteByName('GADSENSE_ID') or !parent::uninstall()) {
return false;
}
return true;
}
示例9: uninstall
public function uninstall()
{
if (!parent::uninstall()) {
return false;
}
return true;
}
示例10: uninstall
public function uninstall()
{
if (!parent::uninstall() or !Configuration::deleteByName('CROSSSELLING_DISPLAY_PRICE')) {
return false;
}
return true;
}
示例11: uninstall
public function uninstall($keep = true)
{
if (!parent::uninstall() || !Configuration::deleteByName('EGORMATEKPROD_MANUF') || !$this->unregisterHook('displayTopColumn') || $keep && !$this->deleteTables()) {
return false;
}
return true;
}
示例12: 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;
}
示例13: 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;
}
示例14: uninstall
public function uninstall($delete_params = true)
{
if ($delete_params && !$this->deleteTables() || !parent::uninstall()) {
return false;
}
return true;
}
示例15: uninstall
public function uninstall()
{
if (!parent::uninstall() || !Configuration::deleteByName('facebookgraph_id') || !Configuration::deleteByName('facebookgraph_type') || !Configuration::deleteByName('facebookgraph_title') || !Configuration::deleteByName('facebookgraph_url') || !Configuration::deleteByName('facebookgraph_name') || !Configuration::deleteByName('facebookgraph_image') || !Configuration::deleteByName('facebookgraph_description')) {
return false;
}
return true;
}