modelement.map.inc.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modElement']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'site_element',
  10. 'extends' => 'modAccessibleSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'source' => 0,
  18. 'property_preprocess' => 0,
  19. ),
  20. 'fieldMeta' =>
  21. array (
  22. 'source' =>
  23. array (
  24. 'dbtype' => 'int',
  25. 'attributes' => 'unsigned',
  26. 'phptype' => 'integer',
  27. 'null' => false,
  28. 'default' => 0,
  29. 'index' => 'fk',
  30. ),
  31. 'property_preprocess' =>
  32. array (
  33. 'dbtype' => 'tinyint',
  34. 'precision' => '1',
  35. 'attributes' => 'unsigned',
  36. 'phptype' => 'boolean',
  37. 'null' => false,
  38. 'default' => 0,
  39. ),
  40. ),
  41. 'composites' =>
  42. array (
  43. 'Acls' =>
  44. array (
  45. 'class' => 'modAccessElement',
  46. 'local' => 'id',
  47. 'foreign' => 'target',
  48. 'owner' => 'local',
  49. 'cardinality' => 'many',
  50. ),
  51. ),
  52. 'aggregates' =>
  53. array (
  54. 'CategoryAcls' =>
  55. array (
  56. 'class' => 'modAccessCategory',
  57. 'local' => 'category',
  58. 'foreign' => 'target',
  59. 'owner' => 'local',
  60. 'cardinality' => 'many',
  61. ),
  62. 'Source' =>
  63. array (
  64. 'class' => 'sources.modMediaSource',
  65. 'local' => 'source',
  66. 'foreign' => 'id',
  67. 'owner' => 'foreign',
  68. 'cardinality' => 'one',
  69. ),
  70. ),
  71. );