modactionfield.map.inc.php 2.7 KB

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