~tsep-dev/tsep/0.9-beta

« back to all changes in this revision

Viewing changes to branches/symfony/cake/tests/fixtures/dependency_fixture.php

  • Committer: geoffreyfishing
  • Date: 2011-01-11 23:46:12 UTC
  • Revision ID: svn-v4:ae0de26e-ed09-4cbe-9a20-e40b4c60ac6c::125
Created a symfony branch for future migration to symfony

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Short description for file.
 
4
 *
 
5
 * PHP versions 4 and 5
 
6
 *
 
7
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 
8
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
9
 *
 
10
 * Licensed under The MIT License
 
11
 * Redistributions of files must retain the above copyright notice.
 
12
 *
 
13
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
14
 * @link          http://cakephp.org CakePHP(tm) Project
 
15
 * @package       cake
 
16
 * @subpackage    cake.tests.fixtures
 
17
 * @since         CakePHP(tm) v 1.2.0.6879//Correct version number as needed**
 
18
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 
19
 */
 
20
 
 
21
/**
 
22
 * Short description for file.
 
23
 *
 
24
 * @package       cake
 
25
 * @subpackage    cake.tests.fixtures
 
26
 * @since         CakePHP(tm) v 1.2.0.6879//Correct version number as needed**
 
27
 */
 
28
class DependencyFixture extends CakeTestFixture {
 
29
 
 
30
/**
 
31
 * name property
 
32
 *
 
33
 * @var string 'Dependency'
 
34
 * @access public
 
35
 */
 
36
        var $name = 'Dependency';
 
37
 
 
38
/**
 
39
 * fields property
 
40
 *
 
41
 * @var array
 
42
 * @access public
 
43
 */
 
44
        var $fields = array(
 
45
                'child_id' => 'integer',
 
46
                'parent_id' => 'integer'
 
47
        );
 
48
 
 
49
/**
 
50
 * records property
 
51
 *
 
52
 * @var array
 
53
 * @access public
 
54
 */
 
55
        var $records = array(
 
56
                array('child_id' => 1, 'parent_id' => 2),
 
57
        );
 
58
}