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


PHP Debugger::checkSecurityKeys方法代碼示例

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


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

示例1: initialize

 /**
  * Initializes AuthComponent for use in the controller
  *
  * @param object $controller A reference to the instantiating controller object
  * @return void
  * @access public
  */
 function initialize(&$controller, $settings = array())
 {
     $this->controller =& $controller;
     $this->params = $controller->params;
     $crud = array('create', 'read', 'update', 'delete');
     $this->_set($settings);
     $this->actionMap = array_merge(array_combine($crud, $crud), $this->actionMap);
     $this->_methods = $controller->methods;
     $prefixes = Router::prefixes();
     if (!empty($prefixes)) {
         foreach ($prefixes as $prefix) {
             $this->actionMap = array_merge(array($prefix . '_index' => 'read', $prefix . '_add' => 'create', $prefix . '_edit' => 'update', $prefix . '_view' => 'read', $prefix . '_remove' => 'delete', $prefix . '_create' => 'create', $prefix . '_read' => 'read', $prefix . '_update' => 'update', $prefix . '_delete' => 'delete'), $this->actionMap);
         }
     }
     if (Configure::read() > 0) {
         App::import('Debugger');
         Debugger::checkSecurityKeys();
     }
 }
開發者ID:Galvanio,項目名稱:Kinspir,代碼行數:26,代碼來源:auth.php

示例2: initialize

 /**
  * Initializes OAuthComponent for use in the controller
  *
  * @param Controller $controller A reference to the instantiating controller object
  * @return void
  */
 public function initialize(Controller $controller)
 {
     $configureOAuth = Configure::read('oauth');
     $this->request = $controller->request;
     $this->response = $controller->response;
     $this->_methods = $controller->methods;
     $this->extendAccessClientsId = $configureOAuth['extendAccessClientsId'];
     $this->extendGrantTypes = $configureOAuth['extendGrantTypes'];
     if (Configure::read('debug') > 0) {
         Debugger::checkSecurityKeys();
     }
 }
開發者ID:pedro-lucas,項目名稱:cakephp-oauth-server,代碼行數:18,代碼來源:OAuthComponent.php

示例3: initialize

 /**
  * Initializes AuthComponent for use in the controller.
  *
  * @param Controller $controller A reference to the instantiating controller object
  * @return void
  */
 public function initialize(Controller $controller)
 {
     $this->request = $controller->request;
     $this->response = $controller->response;
     $this->_methods = $controller->methods;
     if (Configure::read('debug') > 0) {
         Debugger::checkSecurityKeys();
     }
 }
開發者ID:noibilism,項目名稱:nst_portal,代碼行數:15,代碼來源:AuthComponent.php

示例4: initialize

 /**
  * Initializes AuthComponent for use in the controller
  *
  * @param object $controller A reference to the instantiating controller object
  * @return void
  */
 public function initialize($controller)
 {
     $this->request = $controller->request;
     $this->params = $this->request;
     $crud = array('create', 'read', 'update', 'delete');
     $this->actionMap = array_merge($this->actionMap, array_combine($crud, $crud));
     $this->_methods = $controller->methods;
     $prefixes = Router::prefixes();
     if (!empty($prefixes)) {
         foreach ($prefixes as $prefix) {
             $this->actionMap = array_merge($this->actionMap, array($prefix . '_index' => 'read', $prefix . '_add' => 'create', $prefix . '_edit' => 'update', $prefix . '_view' => 'read', $prefix . '_remove' => 'delete', $prefix . '_create' => 'create', $prefix . '_read' => 'read', $prefix . '_update' => 'update', $prefix . '_delete' => 'delete'));
         }
     }
     if (Configure::read('debug') > 0) {
         App::import('Debugger');
         Debugger::checkSecurityKeys();
     }
 }
開發者ID:no2key,項目名稱:Web-Framework-Benchmark,代碼行數:24,代碼來源:auth.php


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