modactionfield.map.inc.php 2.8 KB

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