| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * OrangeSessionTestController
- *
- * PHP 5
- *
- * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
- * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
- *
- * Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
- *
- * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
- * @link http://cakephp.org CakePHP(tm) Project
- * @since 3.0.0
- * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- */
- namespace TestApp\Controller;
- use Cake\Controller\Controller;
- /**
- * OrangeSessionTestController class
- *
- */
- class OrangeSessionTestController extends Controller {
- /**
- * uses property
- *
- * @var array
- */
- public $uses = array();
- /**
- * session_id method
- *
- * @return void
- */
- public function session_id() {
- $this->response->body($this->Session->id());
- }
- }
|