mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
12 lines
320 B
PHP
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'),
|
|
);
|
|
}
|
|
|
|
}
|