當前位置: 首頁>>代碼示例>>PHP>>正文


PHP BxDolInstaller類代碼示例

本文整理匯總了PHP中BxDolInstaller的典型用法代碼示例。如果您正苦於以下問題:PHP BxDolInstaller類的具體用法?PHP BxDolInstaller怎麽用?PHP BxDolInstaller使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了BxDolInstaller類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: BxDataMigrationInstaller

 function BxDataMigrationInstaller(&$aConfig)
 {
     parent::BxDolInstaller($aConfig);
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:4,代碼來源:installer.php

示例2: BxFaceBookConnectInstaller

 function BxFaceBookConnectInstaller(&$aConfig)
 {
     parent::BxDolInstaller($aConfig);
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:4,代碼來源:installer.php

示例3: BxSimpleMessengerInstaller

 function BxSimpleMessengerInstaller($aConfig)
 {
     parent::BxDolInstaller($aConfig);
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:4,代碼來源:installer.php

示例4: BxMbpInstaller

 function BxMbpInstaller($aConfig)
 {
     parent::BxDolInstaller($aConfig);
 }
開發者ID:noormcs,項目名稱:studoro,代碼行數:4,代碼來源:installer.php

示例5: BxPageACInstaller

 function BxPageACInstaller($aConfig)
 {
     parent::BxDolInstaller($aConfig);
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:4,代碼來源:installer.php

示例6: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     $this->updateEmailTemplatesExceptions();
     $this->updateProfileFieldsHtml();
     return $aResult;
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:7,代碼來源:installer.php

示例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);
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:7,代碼來源:installer.php

示例8: 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

示例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);
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:8,代碼來源:installer.php

示例10: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if ($aResult['result']) {
         BxDolService::call($this->_aConfig['home_uri'], 'update_dependent_modules');
     }
     return $aResult;
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:8,代碼來源:installer.php

示例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);
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:10,代碼來源:installer.php

示例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;
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:14,代碼來源:installer.php

示例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;
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:17,代碼來源:installer.php

示例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;
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:18,代碼來源:installer.php

示例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;
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:19,代碼來源:installer.php


注:本文中的BxDolInstaller類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。