統計
| ブランチ: | リビジョン:

pictcode / lib / Cake / Test / Fixture / CakeSessionFixture.php @ 0b1b8047

履歴 | 表示 | アノテート | ダウンロード (1.165 KB)

1
<?php
2
/**
3
 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
4
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5
 *
6
 * Licensed under The MIT License
7
 * For full copyright and license information, please see the LICENSE.txt
8
 * Redistributions of files must retain the above copyright notice
9
 *
10
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11
 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
12
 * @package       Cake.Test.Fixture
13
 * @since         CakePHP(tm) v 2.3.0
14
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
15
 */
16

    
17
/**
18
 * Fixture class for the default session configuration
19
 *
20
 * @package       Cake.Test.Fixture
21
 */
22
class CakeSessionFixture extends CakeTestFixture {
23

    
24
/**
25
 * fields property
26
 *
27
 * @var array
28
 */
29
        public $fields = array(
30
                'id' => array('type' => 'string', 'length' => 128, 'key' => 'primary'),
31
                'data' => array('type' => 'text', 'null' => true),
32
                'expires' => array('type' => 'integer', 'length' => 11, 'null' => true)
33
        );
34

    
35
/**
36
 * records property
37
 *
38
 * @var array
39
 */
40
        public $records = array();
41
}