modaction.map.inc.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modAction']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'actions',
  10. 'extends' => 'modAccessibleSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'namespace' => 'core',
  18. 'controller' => NULL,
  19. 'haslayout' => 1,
  20. 'lang_topics' => NULL,
  21. 'assets' => '',
  22. 'help_url' => '',
  23. ),
  24. 'fieldMeta' =>
  25. array (
  26. 'namespace' =>
  27. array (
  28. 'dbtype' => 'varchar',
  29. 'precision' => '100',
  30. 'phptype' => 'string',
  31. 'null' => false,
  32. 'default' => 'core',
  33. 'index' => 'index',
  34. ),
  35. 'controller' =>
  36. array (
  37. 'dbtype' => 'varchar',
  38. 'precision' => '191',
  39. 'phptype' => 'string',
  40. 'null' => false,
  41. 'index' => 'index',
  42. ),
  43. 'haslayout' =>
  44. array (
  45. 'dbtype' => 'tinyint',
  46. 'precision' => '1',
  47. 'attributes' => 'unsigned',
  48. 'phptype' => 'integer',
  49. 'null' => false,
  50. 'default' => 1,
  51. ),
  52. 'lang_topics' =>
  53. array (
  54. 'dbtype' => 'text',
  55. 'phptype' => 'string',
  56. 'null' => false,
  57. ),
  58. 'assets' =>
  59. array (
  60. 'dbtype' => 'text',
  61. 'phptype' => 'string',
  62. 'null' => false,
  63. 'default' => '',
  64. ),
  65. 'help_url' =>
  66. array (
  67. 'dbtype' => 'text',
  68. 'phptype' => 'string',
  69. 'null' => false,
  70. 'default' => '',
  71. ),
  72. ),
  73. 'indexes' =>
  74. array (
  75. 'namespace' =>
  76. array (
  77. 'alias' => 'namespace',
  78. 'primary' => false,
  79. 'unique' => false,
  80. 'type' => 'BTREE',
  81. 'columns' =>
  82. array (
  83. 'namespace' =>
  84. array (
  85. 'length' => '',
  86. 'collation' => 'A',
  87. 'null' => false,
  88. ),
  89. ),
  90. ),
  91. 'controller' =>
  92. array (
  93. 'alias' => 'controller',
  94. 'primary' => false,
  95. 'unique' => false,
  96. 'type' => 'BTREE',
  97. 'columns' =>
  98. array (
  99. 'controller' =>
  100. array (
  101. 'length' => '',
  102. 'collation' => 'A',
  103. 'null' => false,
  104. ),
  105. ),
  106. ),
  107. ),
  108. 'composites' =>
  109. array (
  110. 'Menus' =>
  111. array (
  112. 'class' => 'modMenu',
  113. 'local' => 'id',
  114. 'foreign' => 'action',
  115. 'owner' => 'local',
  116. 'cardinality' => 'many',
  117. ),
  118. 'Acls' =>
  119. array (
  120. 'class' => 'modAccessAction',
  121. 'local' => 'id',
  122. 'foreign' => 'target',
  123. 'owner' => 'local',
  124. 'cardinality' => 'many',
  125. ),
  126. 'Fields' =>
  127. array (
  128. 'class' => 'modActionField',
  129. 'local' => 'id',
  130. 'foreign' => 'action',
  131. 'owner' => 'local',
  132. 'cardinality' => 'many',
  133. ),
  134. 'DOM' =>
  135. array (
  136. 'class' => 'modActionDom',
  137. 'local' => 'id',
  138. 'foreign' => 'action',
  139. 'owner' => 'local',
  140. 'cardinality' => 'many',
  141. ),
  142. ),
  143. 'aggregates' =>
  144. array (
  145. 'Namespace' =>
  146. array (
  147. 'class' => 'modNamespace',
  148. 'local' => 'namespace',
  149. 'foreign' => 'name',
  150. 'owner' => 'foreign',
  151. 'cardinality' => 'one',
  152. ),
  153. ),
  154. );