| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modAction']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'actions',
- 'extends' => 'modAccessibleSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'namespace' => 'core',
- 'controller' => NULL,
- 'haslayout' => 1,
- 'lang_topics' => NULL,
- 'assets' => '',
- 'help_url' => '',
- ),
- 'fieldMeta' =>
- array (
- 'namespace' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '100',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'core',
- 'index' => 'index',
- ),
- 'controller' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'index' => 'index',
- ),
- 'haslayout' =>
- array (
- 'dbtype' => 'tinyint',
- 'precision' => '1',
- 'attributes' => 'unsigned',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 1,
- ),
- 'lang_topics' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => false,
- ),
- 'assets' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'help_url' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- ),
- 'indexes' =>
- array (
- 'namespace' =>
- array (
- 'alias' => 'namespace',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'namespace' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'controller' =>
- array (
- 'alias' => 'controller',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'controller' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'composites' =>
- array (
- 'Menus' =>
- array (
- 'class' => 'modMenu',
- 'local' => 'id',
- 'foreign' => 'action',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- 'Acls' =>
- array (
- 'class' => 'modAccessAction',
- 'local' => 'id',
- 'foreign' => 'target',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- 'Fields' =>
- array (
- 'class' => 'modActionField',
- 'local' => 'id',
- 'foreign' => 'action',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- 'DOM' =>
- array (
- 'class' => 'modActionDom',
- 'local' => 'id',
- 'foreign' => 'action',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- ),
- 'aggregates' =>
- array (
- 'Namespace' =>
- array (
- 'class' => 'modNamespace',
- 'local' => 'namespace',
- 'foreign' => 'name',
- 'owner' => 'foreign',
- 'cardinality' => 'one',
- ),
- ),
- );
|