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


PHP BxDolInstaller::install方法代碼示例

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


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

示例1: install

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

示例2: install

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

示例3: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if ($aResult['result']) {
         BxDolService::call('wmap', 'part_install', array('profiles', array('part' => 'profiles', 'title' => '_Profiles', 'title_singular' => '_Profile', 'icon' => 'map_marker_profiles.png', 'icon_site' => 'user', 'join_table' => 'Profiles', 'join_where' => "AND `p`.`Status` = 'Active'", 'join_field_id' => 'ID', 'join_field_country' => 'Country', 'join_field_city' => 'City', 'join_field_state' => '', 'join_field_zip' => 'zip', 'join_field_address' => '', 'join_field_title' => 'NickName', 'join_field_uri' => 'ID', 'join_field_author' => 'ID', 'join_field_privacy' => 'allow_view_to', 'permalink' => 'profile.php?ID=')));
     }
     return $aResult;
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:8,代碼來源:installer.php

示例4: install

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

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

示例6: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if ($aResult['result']) {
         BxDolService::call($this->_aConfig['home_uri'], 'update_handlers');
     }
     $this->addHtmlFields(array('POST.content', 'REQUEST.content'));
     return $aResult;
 }
開發者ID:noormcs,項目名稱:studoro,代碼行數:9,代碼來源:installer.php

示例7: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if ($aResult['result'] && BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     $this->updateEmailTemplatesExceptions();
     return $aResult;
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:9,代碼來源:installer.php

示例8: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if ($aResult['result'] && BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     $this->addHtmlFields(array('POST.PostText', 'REQUEST.PostText', 'POST.Description', 'REQUEST.Description'));
     $this->updateEmailTemplatesExceptions();
     return $aResult;
 }
開發者ID:dalinhuang,項目名稱:shopexts,代碼行數:10,代碼來源:installer.php

示例9: install

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

示例10: install

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

示例11: install

 function install($aParams)
 {
     $bInclude = @(include $this->sFilePath);
     if (!$bInclude || empty($LANG) || empty($LANG_INFO) || !$this->_addLanguage($LANG, $LANG_INFO)) {
         return array('operation_title' => _t('_adm_txt_modules_operation_install', $this->_aConfig['title']), 'message' => 'Language file parse error or such language already exists: ' . $this->sFileName, 'result' => false);
     }
     $iLangId = getLangIdByName($LANG_INFO['Name']);
     $this->_recompileLanguageForAllModules($iLangId);
     compileLanguage($iLangId);
     return parent::install($aParams);
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:11,代碼來源:installer.php

示例12: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     $s = $this->_readFromUrl("http://ws.geonames.org/postalCodeCountryInfo?");
     $a = $this->_getCountriesArray($s);
     if (count($a)) {
         db_res("TRUNCATE TABLE `bx_zip_countries_geonames`");
         foreach ($a as $sCountry) {
             db_res("INSERT INTO `bx_zip_countries_geonames` VALUES ('{$sCountry}')");
         }
     } else {
         return array('code' => BX_DOL_INSTALLER_FAILED, 'content' => 'Network error - can not get list of countries');
     }
     return $aResult;
 }
開發者ID:toxalot,項目名稱:dolphin.pro,代碼行數:15,代碼來源:installer.php

示例13: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if (!$aResult['result']) {
         return $aResult;
     }
     if (BxDolRequest::serviceExists('wall', 'update_handlers')) {
         BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     if (BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     $this->addHtmlFields(array('POST.desc', 'REQUEST.desc'));
     $this->updateEmailTemplatesExceptions();
     BxDolService::call($this->_aConfig['home_uri'], 'map_install');
     return $aResult;
 }
開發者ID:noormcs,項目名稱:studoro,代碼行數:17,代碼來源:installer.php

示例14: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     if (!$aResult['result']) {
         return $aResult;
     }
     if (BxDolRequest::serviceExists('wall', 'update_handlers')) {
         BxDolService::call('wall', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     if (BxDolRequest::serviceExists('spy', 'update_handlers')) {
         BxDolService::call('spy', 'update_handlers', array($this->_aConfig['home_uri'], true));
     }
     if (BxDolRequest::serviceExists('shoutbox', 'update_objects')) {
         BxDolService::call('shoutbox', 'update_objects', array($this->_aConfig['home_uri'], true));
     }
     BxDolService::call($this->_aConfig['home_uri'], 'map_install');
     return $aResult;
 }
開發者ID:Gotgot59,項目名稱:dolphin.pro,代碼行數:18,代碼來源:installer.php

示例15: install

 function install($aParams)
 {
     $aResult = parent::install($aParams);
     $this->addExceptionsFields(array('POST.bx_map_key', 'REQUEST.bx_map_key'));
     return $aResult;
 }
開發者ID:noormcs,項目名稱:studoro,代碼行數:6,代碼來源:installer.php


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