Source of file CompanyPage.php
Size: 0,924 Bytes - Last Modified: 2021-12-23T10:35:47+00:00
/var/www/docs.ssmods.com/process/src/tests/php/VersionsDeletedVersionsTest/CompanyPage.php
1234567891011121314151617181920212223242526272829303132333435363738394041 | <?php namespace SilverStripe\Versioned\Tests\VersionsDeletedVersionsTest; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\ManyManyThroughList; use SilverStripe\Versioned\RecursivePublishable; use SilverStripe\Versioned\Versioned; /** * * @mixin RecursivePublishable * @mixin Versioned * @method ManyManyThroughList OfficeLocations() */ class CompanyPage extends DataObject implements TestOnly { private static $extensions = [ Versioned::class, ]; private static $table_name = 'VersionsDeletedVersionsTest_CompanyPage'; private static $db = [ 'Title' => 'Varchar(255)', ]; private static $many_many = [ 'OfficeLocations' => [ 'through' => CompanyOfficeLocation::class, 'from' => 'Company', 'to' => 'Location', ] ]; private static $owns = [ 'OfficeLocations', ]; } |