| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modAccessPolicyTemplate']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'access_policy_templates',
- 'extends' => 'xPDOSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'template_group' => 0,
- 'name' => '',
- 'description' => NULL,
- 'lexicon' => 'permissions',
- ),
- 'fieldMeta' =>
- array (
- 'template_group' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'attributes' => 'unsigned',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- 'index' => 'index',
- ),
- 'name' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- 'index' => 'index',
- ),
- 'description' =>
- array (
- 'dbtype' => 'mediumtext',
- 'phptype' => 'string',
- ),
- 'lexicon' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'permissions',
- ),
- ),
- 'composites' =>
- array (
- 'Permissions' =>
- array (
- 'class' => 'modAccessPermission',
- 'local' => 'id',
- 'foreign' => 'template',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- 'Policies' =>
- array (
- 'class' => 'modAccessPolicy',
- 'local' => 'id',
- 'foreign' => 'template',
- 'owner' => 'local',
- 'cardinality' => 'many',
- ),
- ),
- 'aggregates' =>
- array (
- 'TemplateGroup' =>
- array (
- 'class' => 'modAccessPolicyTemplateGroup',
- 'local' => 'template_group',
- 'foreign' => 'id',
- 'owner' => 'foreign',
- 'cardinality' => 'one',
- ),
- ),
- );
|