mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
24 lines
477 B
PHP
24 lines
477 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class StubOrdered extends DataObject implements TestOnly
|
|
{
|
|
private static $db = array(
|
|
'Sort' => 'Int'
|
|
);
|
|
|
|
private static $has_one = array(
|
|
'Parent' => StubParent::class
|
|
);
|
|
|
|
private static $belongs_many_many =array(
|
|
'MyManyMany' => StubParent::class,
|
|
);
|
|
|
|
private static $table_name = 'StubOrdered';
|
|
}
|