silverstripe-frameworktest/code/FrameworkTestSiteTreeExtension.php
2012-03-08 10:36:12 +01:00

11 lines
287 B
PHP

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