当前位置: 首页>>代码示例>>PHP>>正文


PHP DashboardController::initialize方法代码示例

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


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

示例1: initialize

 /**
  * Runs before every call to this controller.
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     set_time_limit(0);
     // Is this even doing anything?
 }
开发者ID:sitexa,项目名称:vanilla,代码行数:10,代码来源:class.utilitycontroller.php

示例2: initialize

 /**
  * Set menu path. Automatically run on every use.
  *
  * @since 2.0.0
  * @access public
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     if ($this->Menu) {
         $this->Menu->highlightRoute('/dashboard/settings');
     }
 }
开发者ID:caidongyun,项目名称:vanilla,代码行数:14,代码来源:class.routescontroller.php

示例3: initialize

 /**
  * Runs before every call to this controller.
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     $this->Model = new DBAModel();
     $this->Form = new Gdn_Form();
     $this->addJsFile('dba.js');
 }
开发者ID:vanilla,项目名称:vanilla,代码行数:11,代码来源:class.dbacontroller.php

示例4: initialize

 /**
  * Highlight route and do authenticator setup.
  *
  * Always called by dispatcher before controller's requested method.
  *
  * @since 2.0.3
  * @access public
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     if ($this->Menu) {
         $this->Menu->highlightRoute('/dashboard/authentication');
     }
     $this->enableSlicing($this);
     $Authenticators = Gdn::authenticator()->GetAvailable();
     $this->ChooserList = array();
     $this->ConfigureList = array();
     foreach ($Authenticators as $AuthAlias => $AuthConfig) {
         $this->ChooserList[$AuthAlias] = $AuthConfig['Name'];
         $Authenticator = Gdn::authenticator()->authenticateWith($AuthAlias);
         $ConfigURL = is_a($Authenticator, "Gdn_Authenticator") && method_exists($Authenticator, 'AuthenticatorConfiguration') ? $Authenticator->AuthenticatorConfiguration($this) : false;
         $this->ConfigureList[$AuthAlias] = $ConfigURL;
     }
     $this->CurrentAuthenticationAlias = Gdn::authenticator()->authenticateWith('default')->getAuthenticationSchemeAlias();
 }
开发者ID:caidongyun,项目名称:vanilla,代码行数:27,代码来源:class.authenticationcontroller.php

示例5: initialize

 /**
  * Run before
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
 }
开发者ID:caidongyun,项目名称:vanilla,代码行数:8,代码来源:class.embedcontroller.php

示例6: initialize

 /**
  * Always triggered first. Add Javascript files.
  *
  * @since 2.0.?
  * @access public
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     $this->addJsFile('log.js');
     $this->addJsFile('jquery.expander.js');
     $this->Form->InputPrefix = '';
 }
开发者ID:caidongyun,项目名称:vanilla,代码行数:14,代码来源:class.logcontroller.php

示例7: initialize

 /**
  * Always triggered first. Add Javascript files.
  *
  * @since 2.0.?
  * @access public
  */
 public function initialize()
 {
     parent::initialize();
     Gdn_Theme::section('Dashboard');
     $this->addJsFile('log.js');
     $this->addJsFile('jquery.expander.js');
     $this->addJsFile('jquery-ui.js');
     $this->addJsFile('jquery.popup.js');
 }
开发者ID:vanilla,项目名称:vanilla,代码行数:15,代码来源:class.logcontroller.php


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