• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP WikiaSpecialPageController类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中WikiaSpecialPageController的典型用法代码示例。如果您正苦于以下问题:PHP WikiaSpecialPageController类的具体用法?PHP WikiaSpecialPageController怎么用?PHP WikiaSpecialPageController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了WikiaSpecialPageController类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     WikiaSpecialPageController::__construct('PromoteImageReview', 'promoteimagereview', false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:PromoteImageReviewSpecialController.class.php


示例2: __construct

 public function __construct()
 {
     parent::__construct('Phalanx', 'phalanx');
     $this->includable(false);
     $this->title = SpecialPage::getTitleFor('Phalanx');
     $this->service = new PhalanxService();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:PhalanxSpecialController.class.php


示例3: __construct

 public function __construct()
 {
     global $wgFlowerUrl;
     parent::__construct('Tasks', '', false);
     $this->flowerUrl = $wgFlowerUrl;
     $this->userAccessRequirementDefault('tasks-user');
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:TasksSpecialController.class.php


示例4: __construct

 public function __construct()
 {
     //$this->controllerData[] = 'foo';
     //$this->controllerData[] = 'bar';
     // standard SpecialPage constructor call
     parent::__construct('ErrorPage', '', false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:7,代码来源:ErrorPageSpecialController.class.php


示例5: __construct

 public function __construct()
 {
     parent::__construct('Places');
     // allow Special:Places to be included in article content
     // use {{Special:Places}}
     $this->includable(true);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:7,代码来源:PlacesSpecialController.class.php


示例6: __construct

 public function __construct()
 {
     parent::__construct('UserSignup', '', false);
     // Disable captcha for automated tests and wikia mobile and sites disabling it, e.g. Internal
     if ($this->shouldDisableCaptcha()) {
         $this->disableCaptcha();
     }
 }
开发者ID:yusufchang,项目名称:app,代码行数:8,代码来源:UserSignupSpecialController.class.php


示例7: __construct

 /**
  * Handles dependency-building and special page routing before calling controller actions
  */
 public function __construct()
 {
     // note: this is required since we haven't constructed $this->wg yet
     global $wgWikiaSearchIsDefault;
     $specialPageName = $wgWikiaSearchIsDefault ? 'Search' : 'WikiaSearch';
     $this->queryServiceFactory = new Wikia\Search\QueryService\Factory();
     parent::__construct($specialPageName, $specialPageName, false);
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:11,代码来源:WikiaSearchController.class.php


示例8: __construct

 public function __construct(WikiaApp $app = null)
 {
     // we setting app here to make it accessible from hook handler
     $this->app = $app;
     $this->newWikis = F::build('NewWikis');
     $this->methodMapper[self::SPECIAL_PAGE_NAME1] = 'getActive';
     $this->methodMapper[self::SPECIAL_PAGE_NAME2] = 'getAll';
     // standard SpecialPage constructor call
     parent::__construct(self::SPECIAL_PAGE_NAME2, '', false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:10,代码来源:NewWikisController.class.php


示例9: __construct

 /**
  * Handles dependency-building and special page routing before calling controller actions 
  */
 public function __construct()
 {
     // note: this is required since we haven't constructed $this->wg yet
     global $wgWikiaSearchIsDefault;
     // Solarium_Client dependency handled in class constructor call in WikiaSearch.setup.php
     $this->wikiaSearch = F::build('WikiaSearch');
     $this->wikiaSearchIndexer = F::build('WikiaSearchIndexer');
     $specialPageName = $wgWikiaSearchIsDefault ? 'Search' : 'WikiaSearch';
     parent::__construct($specialPageName, $specialPageName, false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:13,代码来源:WikiaSearchController.class.php


示例10: __construct

 public function __construct()
 {
     parent::__construct('Promote');
     if ($this->wg->User->isLoggedIn()) {
         //fix for fb#49401 -- the page for anons looks better without this stylesheet
         //apparently it's also fix for fb#49394 -- the page for anons looks better without this stylesheet
         //FIXME: this is an asset of AdminDashboard extension; why is it added here? Maybe we should use some logic of AdminDashboard to load this asset and remove it from here
         $this->wg->Out->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/AdminDashboard/css/AdminDashboard.scss'));
     }
     $this->wg->Out->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/SpecialPromote/css/SpecialPromote.scss'));
     $this->helper = F::build('SpecialPromoteHelper');
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:12,代码来源:SpecialPromoteController.class.php


示例11: __construct

 public function __construct()
 {
     parent::__construct('UserManagement', 'usermanagement', false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:SpecialUserManagementController.class.php


示例12: __construct

 public function __construct()
 {
     $this->searchedKeywords = new SearchedKeywords(F::app());
     parent::__construct('SearchedKeywords', 'SearchedKeywords', false);
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:5,代码来源:SearchedKeywordsController.class.php


示例13:

 function __construct()
 {
     parent::__construct('Flags', 'flags', true);
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:4,代码来源:SpecialFlagsController.class.php


示例14: __construct

 public function __construct()
 {
     parent::__construct('WikiMap', '', false, false, "default", true);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:WikiMapSpecialController.class.php


示例15: __construct

 public function __construct()
 {
     // standard SpecialPage constructor call
     parent::__construct(NewWikisController::SPECIAL_PAGE_NAME1, '', false);
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:5,代码来源:ActiveNewWikisController.class.php


示例16: __construct

 public function __construct()
 {
     parent::__construct('WikiFeatures', 'wikifeaturesview');
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:WikiFeaturesSpecialController.class.php


示例17: __construct

 public function __construct()
 {
     parent::__construct('VideoHandler');
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:4,代码来源:VideoHandlerSpecialController.class.php


示例18: __construct

 /**
  * Constructor method. Overrides the original Special:Version page.
  */
 public function __construct()
 {
     $this->version = new WikiaSpecialVersion();
     parent::__construct('Version');
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:8,代码来源:WikiaSpecialVersionController.class.php


示例19: init

 public function init()
 {
     parent::init();
     $this->initCacheValidityTimes();
     $this->initFormat();
     $this->initModel();
     $this->initVertical();
     $this->initVerticalSettings();
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:9,代码来源:SpecialWikiaHubsV2Controller.class.php



注:本文中的WikiaSpecialPageController类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Wind类代码示例发布时间:2022-05-23
下一篇:
PHP WikiaBaseTest类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap