mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
25 lines
575 B
PHP
25 lines
575 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class StubParent extends DataObject implements TestOnly
|
|
{
|
|
private static $has_many = array(
|
|
'MyHasMany' => StubOrdered::class,
|
|
'MyHasManySubclass' => StubSubclass::class
|
|
);
|
|
|
|
private static $many_many = array(
|
|
'MyManyMany' => StubOrdered::class
|
|
);
|
|
|
|
private static $many_many_extraFields = array(
|
|
'MyManyMany' => array('ManyManySort' => 'Int')
|
|
);
|
|
|
|
private static $table_name = 'StubParent';
|
|
}
|