silverstripe-framework/tests/php/ORM/VersionedTest/PublicExtension.php

18 lines
322 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\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;
}
}