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


PHP BxDolInstaller::uninstall方法代码示例

本文整理汇总了PHP中BxDolInstaller::uninstall方法的典型用法代码示例。如果您正苦于以下问题:PHP BxDolInstaller::uninstall方法的具体用法?PHP BxDolInstaller::uninstall怎么用?PHP BxDolInstaller::uninstall使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BxDolInstaller的用法示例。


在下文中一共展示了BxDolInstaller::uninstall方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: uninstall

 function uninstall($aParams)
 {
     if (BxDolRequest::serviceExists('wall', 'update_handlers')) {
         BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], false));
     }
     return parent::uninstall($aParams);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:7,代码来源:installer.php

示例2: uninstall

 function uninstall($aParams)
 {
     if (BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], false));
     }
     $this->updateEmailTemplatesExceptions();
     return parent::uninstall($aParams);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:installer.php

示例3: uninstall

 function uninstall($aParams)
 {
     $aResult = parent::uninstall($aParams);
     if ($aResult['result'] && getParam($this->_sParamDefaultPayment) == $this->_aConfig['home_uri']) {
         setParam($this->_sParamDefaultPayment, '');
     }
     return $aResult;
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:8,代码来源:installer.php

示例4: uninstall

 function uninstall($aParams)
 {
     if (BxDolRequest::serviceExists('payment', 'update_dependent_modules')) {
         BxDolService::call('payment', 'update_dependent_modules', array($this->_aConfig['home_uri'], false));
     }
     if (BxDolRequest::serviceExists('payflow', 'update_dependent_modules')) {
         BxDolService::call('payflow', 'update_dependent_modules', array($this->_aConfig['home_uri'], false));
     }
     return parent::uninstall($aParams);
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:10,代码来源:installer.php

示例5: uninstall

 function uninstall($aParams)
 {
     if (BxDolRequest::serviceExists('wall', 'update_handlers')) {
         BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], false));
     }
     if (BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], false));
     }
     $aResult = parent::uninstall($aParams);
     if ($aResult['result'] && BxDolModule::getInstance('BxWmapModule')) {
         BxDolService::call('wmap', 'part_uninstall', array('ads'));
     }
     return $aResult;
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:14,代码来源:installer.php

示例6: uninstall

 function uninstall($aParams)
 {
     $aResult = parent::uninstall($aParams);
     if ($aResult['result']) {
         $bInclude = @(include $this->sFilePath);
         if (!$bInclude || empty($LANG) || empty($LANG_INFO) || !$this->_removeLanguage($LANG, $LANG_INFO)) {
             return array('operation_title' => _t('_adm_txt_modules_operation_install', $this->_aConfig['title']), 'message' => 'Language file parse error: ' . $this->sFileName, 'result' => false);
         }
         // delete compiled lang file
         @unlink(BX_DIRECTORY_PATH_ROOT . "langs/lang-{$LANG_INFO['Name']}.php");
         $GLOBALS['MySQL']->cleanCache('checkLangExists_' . $LANG_INFO['Name']);
         if (bx_lang_name() == $LANG_INFO['Name']) {
             getCurrentLangName(true);
         }
     }
     return $aResult;
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:17,代码来源:installer.php

示例7: uninstall

 function uninstall()
 {
     $ret = parent::uninstall(array());
     $sPath = BX_DIRECTORY_PATH_MODULES . 'boonex/forum/';
     $a = $this->_read_in_dir("{$sPath}cachejs/", 'is_file');
     array_walk($a, array($this, '_unlink'));
     $a = $this->_read_in_dir("{$sPath}classes/", 'is_dir');
     array_walk($a, array($this, '_rmdir_rf'));
     $a = $this->_read_in_dir("{$sPath}conf/", 'is_file');
     array_walk($a, array($this, '_unlink'));
     $a = $this->_read_in_dir("{$sPath}js/", 'is_dir');
     array_walk($a, array($this, '_rmdir_rf'));
     $a = $this->_read_in_dir("{$sPath}log/", 'is_file');
     array_walk($a, array($this, '_unlink'));
     $a = $this->_read_in_dir("{$sPath}layout/", 'is_compiled_template');
     array_walk($a, array($this, '_rmdir_rf'));
     return $ret;
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:18,代码来源:installer.php

示例8: uninstall

 function uninstall($aParams)
 {
     if (BxDolRequest::serviceExists('wall', 'update_handlers')) {
         BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], false));
     }
     $aResult = parent::uninstall($aParams);
     if ($aResult['result']) {
         foreach ($this->_aConfig['install_permissions']['writable'] as $sDir) {
             $sPath = BX_DIRECTORY_PATH_MODULES . $this->_aConfig['home_dir'] . $sDir;
             if (is_dir($sPath)) {
                 bx_clear_folder($sPath);
             }
         }
         bx_import('BxDolCacheUtilities');
         $oCacheUtilities = new BxDolCacheUtilities();
         $oCacheUtilities->clear('users');
     }
     return $aResult;
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:19,代码来源:installer.php

示例9: uninstall

 function uninstall($aParams)
 {
     return parent::uninstall($aParams);
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:4,代码来源:installer.php

示例10: uninstall

 function uninstall()
 {
     $ret = parent::uninstall(array());
     return $ret;
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:5,代码来源:installer.php

示例11: uninstall

 function uninstall($aParams)
 {
     $this->removeHtmlFields();
     return parent::uninstall($aParams);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:5,代码来源:installer.php

示例12: uninstall

 function uninstall($aParams)
 {
     $this->removeHtmlFields();
     $this->updateEmailTemplatesExceptions();
     return parent::uninstall($aParams);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:6,代码来源:installer.php

示例13: uninstall

 function uninstall($aParams)
 {
     $aResult = parent::uninstall($aParams);
     return $aResult;
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:5,代码来源:installer.php

示例14: uninstall

 function uninstall()
 {
     $ret = parent::uninstall(array());
     $this->removeExceptionsFields();
     return $ret;
 }
开发者ID:noormcs,项目名称:studoro,代码行数:6,代码来源:installer.php


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