silverstripe-frameworktest/code/FrameworkTestSiteTreeExtension.php
2012-04-12 15:04:39 +12:00

12 lines
320 B
PHP

<?php
class FrameworkTestSiteTreeExtension extends DataExtension {
function extraStatics($class = null, $extension = null) {
return array(
'has_one' => array('RelationFieldsTestPage' => 'RelationFieldsTestPage'),
'belongs_many_many' => array('RelationFieldsTestPages' => 'RelationFieldsTestPage'),
);
}
}