| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <?php
- /* Currency Fixture generated on: 2011-11-20 21:58:59 : 1321822739 */
- /**
- * CurrencyFixture
- *
- */
- class CurrencyFixture extends CakeTestFixture {
- /**
- * Fields
- *
- * @var array
- */
- public $fields = array(
- 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
- 'name' => array('type' => 'string', 'null' => false, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'code' => array('type' => 'string', 'null' => false, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'symbol_left' => array('type' => 'string', 'null' => true, 'length' => 12, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'symbol_right' => array('type' => 'string', 'null' => true, 'length' => 12, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'decimal_places' => array('type' => 'string', 'null' => true, 'length' => 1, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'value' => array('type' => 'float', 'null' => true, 'default' => '0.0000', 'length' => '9,4', 'collate' => null, 'comment' => ''),
- 'base' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => 'is base currency'),
- 'active' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => ''),
- 'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
- 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
- 'tableParameters' => array()
- );
- /**
- * Records
- *
- * @var array
- */
- public $records = array(
- array(
- 'id' => '1',
- 'name' => 'US Dollar',
- 'code' => 'USD',
- 'symbol_left' => '$',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '1.4146',
- 'base' => 0,
- 'active' => 1,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '2',
- 'name' => 'Euro',
- 'code' => 'EUR',
- 'symbol_left' => '€',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '1.0000',
- 'base' => 1,
- 'active' => 1,
- 'modified' => '2009-11-23 12:45:15'
- ),
- array(
- 'id' => '3',
- 'name' => 'British Pounds',
- 'code' => 'GBP',
- 'symbol_left' => '£',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '0.8775',
- 'base' => 0,
- 'active' => 1,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '4',
- 'name' => 'Schweizer Franken',
- 'code' => 'CHF',
- 'symbol_left' => '',
- 'symbol_right' => 'Fr.',
- 'decimal_places' => '2',
- 'value' => '1.1577',
- 'base' => 0,
- 'active' => 1,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '5',
- 'name' => 'Australien Dollar',
- 'code' => 'AUD',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '1.3264',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '6',
- 'name' => 'Canadian Dollar',
- 'code' => 'CAD',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '1.3549',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '7',
- 'name' => 'Japanese Yen',
- 'code' => 'JPY',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '111.9700',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '9',
- 'name' => 'Mexican Peso',
- 'code' => 'MXN',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '16.5510',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '10',
- 'name' => 'Norwegian Krone',
- 'code' => 'NOK',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '7.8665',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- array(
- 'id' => '11',
- 'name' => 'Swedish Krona',
- 'code' => 'SEK',
- 'symbol_left' => '',
- 'symbol_right' => '',
- 'decimal_places' => '2',
- 'value' => '9.2121',
- 'base' => 0,
- 'active' => 0,
- 'modified' => '2011-07-16 15:12:33'
- ),
- );
- }
|