mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
23a5154c97
* ENH: Update reorderItems() to use ORM where possible * Increase test coverage of orderable rows
26 lines
611 B
PHP
26 lines
611 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
use SilverStripe\ORM\ManyManyList;
|
|
use SilverStripe\Versioned\Versioned;
|
|
|
|
/**
|
|
* @method ManyManyList|ThroughDefinerVersioned[] Definers()
|
|
* @mixin Versioned
|
|
*/
|
|
class ThroughBelongsVersioned extends DataObject implements TestOnly
|
|
{
|
|
private static string $table_name = 'ThroughBelongsVersioned';
|
|
|
|
private static array $belongs_many_many = [
|
|
'Definers' => ThroughDefinerVersioned::class,
|
|
];
|
|
|
|
private static array $extensions = [
|
|
Versioned::class,
|
|
];
|
|
}
|