當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。