pictcode / app / Controller / AppController.php @ 33ddd711
履歴 | 表示 | アノテート | ダウンロード (1.583 KB)
| 1 | 635eef61 | spyder1211 | <?php
|
|---|---|---|---|
| 2 | /**
|
||
| 3 | * Application level Controller
|
||
| 4 | *
|
||
| 5 | * This file is application-wide controller file. You can put all
|
||
| 6 | * application-wide controller-related methods here.
|
||
| 7 | *
|
||
| 8 | * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||
| 9 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
| 10 | *
|
||
| 11 | * Licensed under The MIT License
|
||
| 12 | * For full copyright and license information, please see the LICENSE.txt
|
||
| 13 | * Redistributions of files must retain the above copyright notice.
|
||
| 14 | *
|
||
| 15 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
| 16 | * @link http://cakephp.org CakePHP(tm) Project
|
||
| 17 | * @package app.Controller
|
||
| 18 | * @since CakePHP(tm) v 0.2.9
|
||
| 19 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||
| 20 | */
|
||
| 21 | |||
| 22 | App::uses('Controller', 'Controller'); |
||
| 23 | |||
| 24 | /**
|
||
| 25 | * Application Controller
|
||
| 26 | *
|
||
| 27 | * Add your application-wide methods in the class below, your controllers
|
||
| 28 | * will inherit them.
|
||
| 29 | *
|
||
| 30 | * @package app.Controller
|
||
| 31 | * @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
|
||
| 32 | */
|
||
| 33 | class AppController extends Controller { |
||
| 34 | 3bf0e002 | admin | public $helpers = array( |
| 35 | 'Session',
|
||
| 36 | 'Html' => array('className' => 'BoostCake.BoostCakeHtml'), |
||
| 37 | 'Form' => array('className' => 'BoostCake.BoostCakeForm'), |
||
| 38 | 'Paginator' => array('className' => 'BoostCake.BoostCakePaginator'), |
||
| 39 | ); |
||
| 40 | |||
| 41 | public $components = array( |
||
| 42 | 'DebugKit.Toolbar',
|
||
| 43 | 33ddd711 | admin | 'Session',
|
| 44 | 3bf0e002 | admin | /*
|
| 45 | 'Auth' => array(
|
||
| 46 | 'flash' => array(
|
||
| 47 | 'element' => 'alert',
|
||
| 48 | 'key' => 'auth',
|
||
| 49 | 'params' => array(
|
||
| 50 | 'plugin' => 'BoostCake',
|
||
| 51 | 'class' => 'alert-error'
|
||
| 52 | )
|
||
| 53 | )
|
||
| 54 | )
|
||
| 55 | */
|
||
| 56 | ); |
||
| 57 | 635eef61 | spyder1211 | } |