Source of file AuthorSortedPageRelation.php
Size: 0,567 Bytes - Last Modified: 2021-12-23T10:34:00+00:00
/var/www/docs.ssmods.com/process/src/tests/unit/Stubs/AuthorSortedPageRelation.php
123456789101112131415161718192021222324252627282930 | <?php namespace SilverStripe\RestfulServer\Tests\Stubs; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; class AuthorSortedPageRelation extends DataObject implements TestOnly { /** * @var string */ private static $table_name = 'AuthorSortedPageRelation'; /** * @var array */ private static $has_one = [ 'Parent' => RestfulServerTestAuthor::class, 'SortedPage' => RestfulServerTestPage::class, ]; /** * @var array */ private static $db = [ 'Sort' => 'Int', ]; } |