modactiondom.map.inc.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modActionDom']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'actiondom',
  10. 'extends' => 'modAccessibleSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'set' => 0,
  18. 'action' => '',
  19. 'name' => '',
  20. 'description' => NULL,
  21. 'xtype' => '',
  22. 'container' => '',
  23. 'rule' => '',
  24. 'value' => '',
  25. 'constraint' => '',
  26. 'constraint_field' => '',
  27. 'constraint_class' => '',
  28. 'active' => 1,
  29. 'for_parent' => 0,
  30. 'rank' => 0,
  31. ),
  32. 'fieldMeta' =>
  33. array (
  34. 'set' =>
  35. array (
  36. 'dbtype' => 'int',
  37. 'precision' => '11',
  38. 'phptype' => 'integer',
  39. 'null' => false,
  40. 'default' => 0,
  41. 'index' => 'index',
  42. ),
  43. 'action' =>
  44. array (
  45. 'dbtype' => 'varchar',
  46. 'precision' => '191',
  47. 'phptype' => 'string',
  48. 'null' => false,
  49. 'default' => '',
  50. 'index' => 'index',
  51. ),
  52. 'name' =>
  53. array (
  54. 'dbtype' => 'varchar',
  55. 'precision' => '191',
  56. 'phptype' => 'string',
  57. 'null' => false,
  58. 'default' => '',
  59. 'index' => 'index',
  60. ),
  61. 'description' =>
  62. array (
  63. 'dbtype' => 'text',
  64. 'phptype' => 'string',
  65. ),
  66. 'xtype' =>
  67. array (
  68. 'dbtype' => 'varchar',
  69. 'precision' => '100',
  70. 'phptype' => 'string',
  71. 'null' => false,
  72. 'default' => '',
  73. ),
  74. 'container' =>
  75. array (
  76. 'dbtype' => 'varchar',
  77. 'precision' => '191',
  78. 'phptype' => 'string',
  79. 'null' => false,
  80. 'default' => '',
  81. ),
  82. 'rule' =>
  83. array (
  84. 'dbtype' => 'varchar',
  85. 'precision' => '100',
  86. 'phptype' => 'string',
  87. 'null' => false,
  88. 'default' => '',
  89. ),
  90. 'value' =>
  91. array (
  92. 'dbtype' => 'text',
  93. 'phptype' => 'string',
  94. 'null' => false,
  95. 'default' => '',
  96. ),
  97. 'constraint' =>
  98. array (
  99. 'dbtype' => 'varchar',
  100. 'precision' => '191',
  101. 'phptype' => 'string',
  102. 'null' => false,
  103. 'default' => '',
  104. ),
  105. 'constraint_field' =>
  106. array (
  107. 'dbtype' => 'varchar',
  108. 'precision' => '100',
  109. 'phptype' => 'string',
  110. 'null' => false,
  111. 'default' => '',
  112. ),
  113. 'constraint_class' =>
  114. array (
  115. 'dbtype' => 'varchar',
  116. 'precision' => '100',
  117. 'phptype' => 'string',
  118. 'null' => false,
  119. 'default' => '',
  120. ),
  121. 'active' =>
  122. array (
  123. 'dbtype' => 'tinyint',
  124. 'precision' => '1',
  125. 'attributes' => 'unsigned',
  126. 'phptype' => 'boolean',
  127. 'null' => false,
  128. 'default' => 1,
  129. 'index' => 'index',
  130. ),
  131. 'for_parent' =>
  132. array (
  133. 'dbtype' => 'tinyint',
  134. 'precision' => '1',
  135. 'attributes' => 'unsigned',
  136. 'phptype' => 'boolean',
  137. 'null' => false,
  138. 'default' => 0,
  139. 'index' => 'index',
  140. ),
  141. 'rank' =>
  142. array (
  143. 'dbtype' => 'int',
  144. 'precision' => '11',
  145. 'phptype' => 'integer',
  146. 'null' => false,
  147. 'default' => 0,
  148. 'index' => 'index',
  149. ),
  150. ),
  151. 'indexes' =>
  152. array (
  153. 'set' =>
  154. array (
  155. 'alias' => 'set',
  156. 'primary' => false,
  157. 'unique' => false,
  158. 'type' => 'BTREE',
  159. 'columns' =>
  160. array (
  161. 'set' =>
  162. array (
  163. 'length' => '',
  164. 'collation' => 'A',
  165. 'null' => false,
  166. ),
  167. ),
  168. ),
  169. 'action' =>
  170. array (
  171. 'alias' => 'action',
  172. 'primary' => false,
  173. 'unique' => false,
  174. 'type' => 'BTREE',
  175. 'columns' =>
  176. array (
  177. 'action' =>
  178. array (
  179. 'length' => '',
  180. 'collation' => 'A',
  181. 'null' => false,
  182. ),
  183. ),
  184. ),
  185. 'name' =>
  186. array (
  187. 'alias' => 'name',
  188. 'primary' => false,
  189. 'unique' => false,
  190. 'type' => 'BTREE',
  191. 'columns' =>
  192. array (
  193. 'name' =>
  194. array (
  195. 'length' => '',
  196. 'collation' => 'A',
  197. 'null' => false,
  198. ),
  199. ),
  200. ),
  201. 'active' =>
  202. array (
  203. 'alias' => 'active',
  204. 'primary' => false,
  205. 'unique' => false,
  206. 'type' => 'BTREE',
  207. 'columns' =>
  208. array (
  209. 'active' =>
  210. array (
  211. 'length' => '',
  212. 'collation' => 'A',
  213. 'null' => false,
  214. ),
  215. ),
  216. ),
  217. 'for_parent' =>
  218. array (
  219. 'alias' => 'for_parent',
  220. 'primary' => false,
  221. 'unique' => false,
  222. 'type' => 'BTREE',
  223. 'columns' =>
  224. array (
  225. 'for_parent' =>
  226. array (
  227. 'length' => '',
  228. 'collation' => 'A',
  229. 'null' => false,
  230. ),
  231. ),
  232. ),
  233. 'rank' =>
  234. array (
  235. 'alias' => 'rank',
  236. 'primary' => false,
  237. 'unique' => false,
  238. 'type' => 'BTREE',
  239. 'columns' =>
  240. array (
  241. 'rank' =>
  242. array (
  243. 'length' => '',
  244. 'collation' => 'A',
  245. 'null' => false,
  246. ),
  247. ),
  248. ),
  249. ),
  250. 'composites' =>
  251. array (
  252. 'Access' =>
  253. array (
  254. 'class' => 'modAccessActionDom',
  255. 'local' => 'id',
  256. 'foreign' => 'target',
  257. 'cardinality' => 'many',
  258. 'owner' => 'local',
  259. ),
  260. ),
  261. 'aggregates' =>
  262. array (
  263. 'FCSet' =>
  264. array (
  265. 'class' => 'modFormCustomizationSet',
  266. 'local' => 'set',
  267. 'foreign' => 'id',
  268. 'cardinality' => 'one',
  269. 'owner' => 'foreign',
  270. ),
  271. 'Action' =>
  272. array (
  273. 'class' => 'modAction',
  274. 'local' => 'action',
  275. 'foreign' => 'id',
  276. 'cardinality' => 'one',
  277. 'owner' => 'foreign',
  278. ),
  279. ),
  280. );