本文整理汇总了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);
}
示例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);
}
示例3: uninstall
function uninstall($aParams)
{
$aResult = parent::uninstall($aParams);
if ($aResult['result'] && getParam($this->_sParamDefaultPayment) == $this->_aConfig['home_uri']) {
setParam($this->_sParamDefaultPayment, '');
}
return $aResult;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例9: uninstall
function uninstall($aParams)
{
return parent::uninstall($aParams);
}
示例10: uninstall
function uninstall()
{
$ret = parent::uninstall(array());
return $ret;
}
示例11: uninstall
function uninstall($aParams)
{
$this->removeHtmlFields();
return parent::uninstall($aParams);
}
示例12: uninstall
function uninstall($aParams)
{
$this->removeHtmlFields();
$this->updateEmailTemplatesExceptions();
return parent::uninstall($aParams);
}
示例13: uninstall
function uninstall($aParams)
{
$aResult = parent::uninstall($aParams);
return $aResult;
}
示例14: uninstall
function uninstall()
{
$ret = parent::uninstall(array());
$this->removeExceptionsFields();
return $ret;
}