core/model/modx/sqlsrv/modtemplatevarresourcegroup.map.inc.php
<?php
/**
* @package modx
* @subpackage sqlsrv
*/
$xpdo_meta_map['modTemplateVarResourceGroup']= array (
'package' => 'modx',
'version' => '1.1',
'table' => 'site_tmplvar_access',
'extends' => 'xPDOSimpleObject',
'fields' =>
array (
'tmplvarid' => 0,
'documentgroup' => 0,
),
'fieldMeta' =>
array (
'tmplvarid' =>
array (
'dbtype' => 'int',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'documentgroup' =>
array (
'dbtype' => 'int',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'aggregates' =>
array (
'TemplateVar' =>
array (
'class' => 'modTemplateVar',
'local' => 'tmplvarid',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'ResourceGroup' =>
array (
'class' => 'modResourceGroup',
'local' => 'documentgroup',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
);