modformcustomizationset.map.inc.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage sqlsrv
  5. */
  6. $xpdo_meta_map['modFormCustomizationSet']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'fc_sets',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'fields' =>
  12. array (
  13. 'profile' => 0,
  14. 'action' => '',
  15. 'description' => '',
  16. 'active' => 0,
  17. 'template' => 0,
  18. 'constraint' => '',
  19. 'constraint_field' => '',
  20. 'constraint_class' => '',
  21. ),
  22. 'fieldMeta' =>
  23. array (
  24. 'profile' =>
  25. array (
  26. 'dbtype' => 'int',
  27. 'phptype' => 'integer',
  28. 'null' => false,
  29. 'default' => 0,
  30. 'index' => 'index',
  31. ),
  32. 'action' =>
  33. array (
  34. 'dbtype' => 'nvarchar',
  35. 'precision' => '255',
  36. 'phptype' => 'string',
  37. 'null' => false,
  38. 'default' => '',
  39. 'index' => 'index',
  40. ),
  41. 'description' =>
  42. array (
  43. 'dbtype' => 'nvarchar',
  44. 'precision' => 'max',
  45. 'phptype' => 'string',
  46. 'null' => false,
  47. 'default' => '',
  48. ),
  49. 'active' =>
  50. array (
  51. 'dbtype' => 'tinyint',
  52. 'precision' => '1',
  53. 'phptype' => 'integer',
  54. 'null' => false,
  55. 'default' => 0,
  56. 'index' => 'index',
  57. ),
  58. 'template' =>
  59. array (
  60. 'dbtype' => 'int',
  61. 'phptype' => 'integer',
  62. 'null' => false,
  63. 'default' => 0,
  64. 'index' => 'index',
  65. ),
  66. 'constraint' =>
  67. array (
  68. 'dbtype' => 'nvarchar',
  69. 'precision' => '255',
  70. 'phptype' => 'string',
  71. 'null' => false,
  72. 'default' => '',
  73. ),
  74. 'constraint_field' =>
  75. array (
  76. 'dbtype' => 'nvarchar',
  77. 'precision' => '100',
  78. 'phptype' => 'string',
  79. 'null' => false,
  80. 'default' => '',
  81. ),
  82. 'constraint_class' =>
  83. array (
  84. 'dbtype' => 'nvarchar',
  85. 'precision' => '100',
  86. 'phptype' => 'string',
  87. 'null' => false,
  88. 'default' => '',
  89. ),
  90. ),
  91. 'indexes' =>
  92. array (
  93. 'profile' =>
  94. array (
  95. 'alias' => 'profile',
  96. 'primary' => false,
  97. 'unique' => false,
  98. 'type' => 'BTREE',
  99. 'columns' =>
  100. array (
  101. 'profile' =>
  102. array (
  103. 'length' => '',
  104. 'collation' => 'A',
  105. 'null' => false,
  106. ),
  107. ),
  108. ),
  109. 'action' =>
  110. array (
  111. 'alias' => 'action',
  112. 'primary' => false,
  113. 'unique' => false,
  114. 'type' => 'BTREE',
  115. 'columns' =>
  116. array (
  117. 'action' =>
  118. array (
  119. 'length' => '',
  120. 'collation' => 'A',
  121. 'null' => false,
  122. ),
  123. ),
  124. ),
  125. 'active' =>
  126. array (
  127. 'alias' => 'active',
  128. 'primary' => false,
  129. 'unique' => false,
  130. 'type' => 'BTREE',
  131. 'columns' =>
  132. array (
  133. 'active' =>
  134. array (
  135. 'length' => '',
  136. 'collation' => 'A',
  137. 'null' => false,
  138. ),
  139. ),
  140. ),
  141. 'template' =>
  142. array (
  143. 'alias' => 'template',
  144. 'primary' => false,
  145. 'unique' => false,
  146. 'type' => 'BTREE',
  147. 'columns' =>
  148. array (
  149. 'template' =>
  150. array (
  151. 'length' => '',
  152. 'collation' => 'A',
  153. 'null' => false,
  154. ),
  155. ),
  156. ),
  157. ),
  158. 'composites' =>
  159. array (
  160. 'Rules' =>
  161. array (
  162. 'class' => 'modActionDom',
  163. 'local' => 'id',
  164. 'foreign' => 'set',
  165. 'cardinality' => 'many',
  166. 'owner' => 'local',
  167. ),
  168. ),
  169. 'aggregates' =>
  170. array (
  171. 'Action' =>
  172. array (
  173. 'class' => 'modAction',
  174. 'local' => 'action',
  175. 'foreign' => 'id',
  176. 'cardinality' => 'one',
  177. 'owner' => 'foreign',
  178. ),
  179. 'Template' =>
  180. array (
  181. 'class' => 'modTemplate',
  182. 'local' => 'template',
  183. 'foreign' => 'id',
  184. 'cardinality' => 'one',
  185. 'owner' => 'foreign',
  186. ),
  187. 'Profile' =>
  188. array (
  189. 'class' => 'modFormCustomizationProfile',
  190. 'local' => 'profile',
  191. 'foreign' => 'id',
  192. 'cardinality' => 'one',
  193. 'owner' => 'foreign',
  194. ),
  195. ),
  196. );