Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<?php
2
/**
3
 * Fixture Template file
4
 *
5
 * Fixture Template used when baking fixtures with bake
6
 *
7
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
9
 *
10
 * Licensed under The MIT License
11
 * For full copyright and license information, please see the LICENSE.txt
12
 * Redistributions of files must retain the above copyright notice.
13
 *
14
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
15
 * @link          http://cakephp.org CakePHP(tm) Project
16
 * @package       Cake.Console.Templates.default.classes
17
 * @since         CakePHP(tm) v 1.3
18
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
19
 */
20
 
21
echo "<?php\n";
22
?>
23
/**
24
 * <?php echo $model; ?>Fixture
25
 *
26
 */
27
class <?php echo $model; ?>Fixture extends CakeTestFixture {
28
 
29
<?php if ($table): ?>
30
/**
31
 * Table name
32
 *
33
 * @var string
34
 */
35
	public $table = '<?php echo $table; ?>';
36
 
37
<?php endif; ?>
38
<?php if ($import): ?>
39
/**
40
 * Import
41
 *
42
 * @var array
43
 */
44
	public $import = <?php echo $import; ?>;
45
 
46
<?php endif; ?>
47
<?php if ($schema): ?>
48
/**
49
 * Fields
50
 *
51
 * @var array
52
 */
53
	public $fields = <?php echo $schema; ?>;
54
 
55
<?php endif; ?>
56
<?php if ($records): ?>
57
/**
58
 * Records
59
 *
60
 * @var array
61
 */
62
	public $records = <?php echo $records; ?>;
63
 
64
<?php endif; ?>
65
}