4
* Short description for file.
6
* Long description for file
10
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
11
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
13
* Licensed under The Open Group Test Suite License
14
* Redistributions of files must retain the above copyright notice.
16
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
17
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
19
* @subpackage cake.tests.fixtures
20
* @since CakePHP(tm) v 1.2.0.5669
22
* @modifiedby $LastChangedBy$
23
* @lastmodified $Date$
24
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
27
* Short description for class.
30
* @subpackage cake.tests.fixtures
32
class TranslateWithPrefixFixture extends CakeTestFixture {
36
* @var string 'Translate'
39
var $name = 'TranslateWithPrefix';
46
var $table = 'i18n_translate_with_prefixes';
54
'id' => array('type' => 'integer', 'key' => 'primary'),
55
'locale' => array('type' => 'string', 'length' => 6, 'null' => false),
56
'model' => array('type' => 'string', 'null' => false),
57
'foreign_key' => array('type' => 'integer', 'null' => false),
58
'field' => array('type' => 'string', 'null' => false),
59
'content' => array('type' => 'text')
68
array('id' => 1, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'title', 'content' => 'Title #1'),
69
array('id' => 2, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'content', 'content' => 'Content #1'),
70
array('id' => 3, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'title', 'content' => 'Titel #1'),
71
array('id' => 4, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'content', 'content' => 'Inhalt #1'),
72
array('id' => 5, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'title', 'content' => 'Titulek #1'),
73
array('id' => 6, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 1, 'field' => 'content', 'content' => 'Obsah #1'),
74
array('id' => 7, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'title', 'content' => 'Title #2'),
75
array('id' => 8, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'content', 'content' => 'Content #2'),
76
array('id' => 9, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'title', 'content' => 'Titel #2'),
77
array('id' => 10, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'content', 'content' => 'Inhalt #2'),
78
array('id' => 11, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'title', 'content' => 'Titulek #2'),
79
array('id' => 12, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 2, 'field' => 'content', 'content' => 'Obsah #2'),
80
array('id' => 13, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'title', 'content' => 'Title #3'),
81
array('id' => 14, 'locale' => 'eng', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'content', 'content' => 'Content #3'),
82
array('id' => 15, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'title', 'content' => 'Titel #3'),
83
array('id' => 16, 'locale' => 'deu', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'content', 'content' => 'Inhalt #3'),
84
array('id' => 17, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'title', 'content' => 'Titulek #3'),
85
array('id' => 18, 'locale' => 'cze', 'model' => 'TranslatedItem', 'foreign_key' => 3, 'field' => 'content', 'content' => 'Obsah #3')