silverstripe-frameworktest/code/FrameworkTestSiteTreeExtension.php

11 lines
287 B
PHP
Raw Normal View History

2012-03-08 10:36:12 +01:00
<?php
class FrameworkTestSiteTreeExtension extends DataExtension {
function extraStatics() {
return array(
'has_one' => array('RelationFieldsTestPage' => 'RelationFieldsTestPage'),
'belongs_many_many' => array('RelationFieldsTestPages' => 'RelationFieldsTestPage'),
);
}
}