Source of file VersionedJoinObject.php
Size: 0,878 Bytes - Last Modified: 2021-12-23T10:35:47+00:00
/var/www/docs.ssmods.com/process/src/tests/php/VersionedManyManyThroughListTest/VersionedJoinObject.php
12345678910111213141516171819202122232425262728293031323334 | <?php namespace SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest\VersionedObject; use SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest\VersionedItem; use SilverStripe\Versioned\Versioned; /** * @property string $Title * @method VersionedObject Parent() * @method VersionedItem Child() * @mixin Versioned */ class VersionedJoinObject extends DataObject implements TestOnly { private static $table_name = 'ManyManyThroughListTest_VersionedJoinObject'; private static $db = [ 'Title' => 'Varchar' ]; private static $extensions = [ Versioned::class ]; private static $has_one = [ 'Parent' => VersionedObject::class, 'Child' => VersionedItem::class, ]; } |