comparison cake/tests/fixtures/campaign_fixture.php @ 0:261e66bd5a0c

hg init
author Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Jul 2011 21:08:31 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:261e66bd5a0c
1 <?php
2 /**
3 * Short description for campaign_fixture.php
4 *
5 * Long description for campaign_fixture.php
6 *
7 * PHP versions 4 and 5
8 *
9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
10 *
11 * Licensed under The MIT License
12 * Redistributions of files must retain the above copyright notice.
13 *
14 * @copyright CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
15 * @link http://www.cakephp.org
16 * @package cake
17 * @subpackage cake.tests.fixtures
18 * @since 1.2
19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
20 */
21
22 /**
23 * CampaignFixture class
24 *
25 * @package cake
26 * @subpackage cake.tests.fixtures
27 */
28 class CampaignFixture extends CakeTestFixture {
29
30 /**
31 * name property
32 *
33 * @var string 'Campaign'
34 * @access public
35 */
36 var $name = 'Campaign';
37
38 /**
39 * fields property
40 *
41 * @var array
42 * @access public
43 */
44 var $fields = array(
45 'id' => array('type' => 'integer', 'key' => 'primary'),
46 'name' => array('type' => 'string', 'length' => 255, 'null' => false),
47 );
48
49 /**
50 * records property
51 *
52 * @var array
53 * @access public
54 */
55 var $records = array(
56 array('name' => 'Hurtigruten'),
57 array('name' => 'Colorline'),
58 array('name' => 'Queen of Scandinavia')
59 );
60 }