当前位置: 首页>>代码示例>>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;未经允许,请勿转载。