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