mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
322 B
PHP
18 lines
322 B
PHP
<?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;
|
|
}
|
|
}
|