mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
34 lines
633 B
PHP
34 lines
633 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
use SilverStripe\Versioned\Versioned;
|
|
|
|
/**
|
|
* Class StubOrderedVersioned
|
|
* @package Symbiote\GridFieldExtensions\Tests\Stub
|
|
*/
|
|
class StubSubclassOrderedVersioned extends StubOrderedVersioned
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $table_name = 'StubSubclassOrderedVersioned';
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
private static $db = [
|
|
'ExtraField' => 'Int',
|
|
];
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
private static $has_one = [
|
|
'Parent' => StubParent::class,
|
|
];
|
|
}
|