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

pictcode / lib / Cake / Test / Fixture / CampaignFixture.php @ 635eef61

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

1 635eef61 spyder1211
<?php
2
/**
3
 * Short description for campaign_fixture.php
4
 *
5
 * Long description for campaign_fixture.php
6
 *
7
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8
 *
9
 * Licensed under The MIT License
10
 * For full copyright and license information, please see the LICENSE.txt
11
 * Redistributions of files must retain the above copyright notice.
12
 *
13
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
14
 * @link          http://www.cakephp.org
15
 * @package       Cake.Test.Fixture
16
 * @since         1.2
17
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
18
 */
19
20
/**
21
 * CampaignFixture class
22
 *
23
 * @package       Cake.Test.Fixture
24
 */
25
class CampaignFixture extends CakeTestFixture {
26
27
/**
28
 * fields property
29
 *
30
 * @var array
31
 */
32
        public $fields = array(
33
                'id' => array('type' => 'integer', 'key' => 'primary'),
34
                'name' => array('type' => 'string', 'length' => 255, 'null' => false),
35
        );
36
37
/**
38
 * records property
39
 *
40
 * @var array
41
 */
42
        public $records = array(
43
                array('name' => 'Hurtigruten'),
44
                array('name' => 'Colorline'),
45
                array('name' => 'Queen of Scandinavia')
46
        );
47
}