LocationFixture.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. /* Location Fixture generated on: 2011-11-20 21:59:08 : 1321822748 */
  3. /**
  4. * LocationFixture
  5. *
  6. */
  7. class LocationFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = [
  14. 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''],
  15. 'name' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_general_ci', 'comment' => '', 'charset' => 'utf8'],
  16. 'country_id' => ['type' => 'integer', 'null' => true, 'default' => null, 'length' => 10, 'collate' => null, 'comment' => ''],
  17. 'lat' => ['type' => 'float', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''],
  18. 'lng' => ['type' => 'float', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''],
  19. 'formatted_address' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  20. 'locality' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  21. 'sublocality' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  22. 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  23. 'modified' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  24. 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
  25. 'tableParameters' => []
  26. ];
  27. /**
  28. * Records
  29. *
  30. * @var array
  31. */
  32. public $records = [
  33. [
  34. 'id' => '1',
  35. 'name' => 'münchen',
  36. 'country_id' => '1',
  37. 'lat' => '48.1391',
  38. 'lng' => '11.5802',
  39. 'formatted_address' => 'München, Deutschland',
  40. 'locality' => '',
  41. 'sublocality' => '0',
  42. 'created' => '2011-10-22 14:33:48',
  43. 'modified' => '2011-10-22 14:33:48'
  44. ],
  45. [
  46. 'id' => '2',
  47. 'name' => 'Allach',
  48. 'country_id' => '1',
  49. 'lat' => '48.1971',
  50. 'lng' => '11.4582',
  51. 'formatted_address' => 'Allach, 80999 München, Deutschland',
  52. 'locality' => '',
  53. 'sublocality' => '0',
  54. 'created' => '2011-10-22 14:34:35',
  55. 'modified' => '2011-10-22 14:34:35'
  56. ],
  57. [
  58. 'id' => '3',
  59. 'name' => 'Sendling',
  60. 'country_id' => '1',
  61. 'lat' => '48.1199',
  62. 'lng' => '11.5407',
  63. 'formatted_address' => 'Sendling, München, Deutschland',
  64. 'locality' => 'München',
  65. 'sublocality' => 'Sendling',
  66. 'created' => '2011-10-22 14:45:10',
  67. 'modified' => '2011-10-22 14:45:10'
  68. ],
  69. [
  70. 'id' => '4',
  71. 'name' => 'Obermenzing',
  72. 'country_id' => '1',
  73. 'lat' => '48.1648',
  74. 'lng' => '11.4671',
  75. 'formatted_address' => 'Obermenzing, 81247 München, Deutschland',
  76. 'locality' => 'München',
  77. 'sublocality' => 'Obermenzing',
  78. 'created' => '2011-10-22 14:46:48',
  79. 'modified' => '2011-10-22 14:46:48'
  80. ],
  81. [
  82. 'id' => '5',
  83. 'name' => '74523',
  84. 'country_id' => '1',
  85. 'lat' => '49.1258',
  86. 'lng' => '9.75441',
  87. 'formatted_address' => '74523 Schwäbisch Hall, Deutschland',
  88. 'locality' => 'Schwäbisch Hall',
  89. 'sublocality' => '',
  90. 'created' => '2011-10-22 14:47:06',
  91. 'modified' => '2011-10-22 14:47:06'
  92. ],
  93. [
  94. 'id' => '11',
  95. 'name' => 'thiemestr. 7',
  96. 'country_id' => '1',
  97. 'lat' => '48.157',
  98. 'lng' => '11.5886',
  99. 'formatted_address' => 'Thiemestraße 7, 80802 München, Deutschland',
  100. 'locality' => 'München',
  101. 'sublocality' => 'München',
  102. 'created' => '2011-10-22 15:09:14',
  103. 'modified' => '2011-10-22 15:09:14'
  104. ],
  105. [
  106. 'id' => '12',
  107. 'name' => 'thiemestr. 8',
  108. 'country_id' => '1',
  109. 'lat' => '51.2923',
  110. 'lng' => '12.4539',
  111. 'formatted_address' => 'Clemens-Thieme-Straße 8, 04288 Leipzig, Deutschland',
  112. 'locality' => 'Leipzig',
  113. 'sublocality' => 'Liebertwolkwitz',
  114. 'created' => '2011-10-22 15:09:24',
  115. 'modified' => '2011-10-22 15:09:24'
  116. ],
  117. [
  118. 'id' => '13',
  119. 'name' => 'neufahrn',
  120. 'country_id' => '1',
  121. 'lat' => '48.1141',
  122. 'lng' => '11.1633',
  123. 'formatted_address' => 'Neufahrn bei Freising, Deutschland',
  124. 'locality' => 'Neufahrn bei Freising',
  125. 'sublocality' => '',
  126. 'created' => '2011-10-22 15:15:12',
  127. 'modified' => '2011-10-22 15:15:12'
  128. ],
  129. [
  130. 'id' => '15',
  131. 'name' => '85375',
  132. 'country_id' => '1',
  133. 'lat' => '48.1118',
  134. 'lng' => '11.1671',
  135. 'formatted_address' => '85375 Neufahrn bei Freising, Deutschland',
  136. 'locality' => 'Neufahrn bei Freising',
  137. 'sublocality' => '',
  138. 'created' => '2011-10-22 15:17:16',
  139. 'modified' => '2011-10-22 15:17:16'
  140. ],
  141. [
  142. 'id' => '18',
  143. 'name' => 'hamburg',
  144. 'country_id' => '1',
  145. 'lat' => '53.5538',
  146. 'lng' => '9.99159',
  147. 'formatted_address' => 'Hamburg, Deutschland',
  148. 'locality' => 'Hamburg',
  149. 'sublocality' => '',
  150. 'created' => '2011-10-22 16:10:04',
  151. 'modified' => '2011-10-22 16:10:04'
  152. ],
  153. ];
  154. }