本文整理汇总了PHP中BxDolInstaller类的典型用法代码示例。如果您正苦于以下问题:PHP BxDolInstaller类的具体用法?PHP BxDolInstaller怎么用?PHP BxDolInstaller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了BxDolInstaller类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: BxDataMigrationInstaller
function BxDataMigrationInstaller(&$aConfig)
{
parent::BxDolInstaller($aConfig);
}
示例2: BxFaceBookConnectInstaller
function BxFaceBookConnectInstaller(&$aConfig)
{
parent::BxDolInstaller($aConfig);
}
示例3: BxSimpleMessengerInstaller
function BxSimpleMessengerInstaller($aConfig)
{
parent::BxDolInstaller($aConfig);
}
示例4: BxMbpInstaller
function BxMbpInstaller($aConfig)
{
parent::BxDolInstaller($aConfig);
}
示例5: BxPageACInstaller
function BxPageACInstaller($aConfig)
{
parent::BxDolInstaller($aConfig);
}
示例6: install
function install($aParams)
{
$aResult = parent::install($aParams);
$this->updateEmailTemplatesExceptions();
$this->updateProfileFieldsHtml();
return $aResult;
}
示例7: 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);
}
示例8: uninstall
function uninstall($aParams)
{
$aResult = parent::uninstall($aParams);
if ($aResult['result'] && getParam($this->_sParamDefaultPayment) == $this->_aConfig['home_uri']) {
setParam($this->_sParamDefaultPayment, '');
}
return $aResult;
}
示例9: 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);
}
示例10: install
function install($aParams)
{
$aResult = parent::install($aParams);
if ($aResult['result']) {
BxDolService::call($this->_aConfig['home_uri'], 'update_dependent_modules');
}
return $aResult;
}
示例11: 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);
}
示例12: 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;
}
示例13: 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;
}
示例14: 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;
}
示例15: 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;
}