Source of file PublicExtension.php
Size: 0,343 Bytes - Last Modified: 2021-12-23T10:35:47+00:00
/var/www/docs.ssmods.com/process/src/tests/php/VersionedTest/PublicExtension.php
123456789101112131415161718 | <?php namespace SilverStripe\Versioned\Tests\VersionedTest; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataExtension; /** * Alters stage mode of extended object to be public */ class PublicExtension extends DataExtension implements TestOnly { public function canViewNonLive($member = null) { return true; } } |