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