mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
20 lines
427 B
PHP
20 lines
427 B
PHP
<?php
|
|
|
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class TitleSortedObject extends DataObject implements TestOnly
|
|
{
|
|
private static $db = [
|
|
'Title' => 'Varchar',
|
|
'Iden' => 'Varchar',
|
|
'DefaultSort' => 'Int'
|
|
];
|
|
|
|
private static $default_sort = '"DefaultSort" ASC';
|
|
|
|
private static $table_name = 'TitleSortedObject';
|
|
}
|