mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 10:11:17 +02:00
32 lines
450 B
PHP
32 lines
450 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\View\Tests\SSViewerCacheBlockTest;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
|
||
|
class TestModel extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'SSViewerCacheBlockTest_Model';
|
||
|
|
||
|
public function Test($arg = null)
|
||
|
{
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function Foo()
|
||
|
{
|
||
|
return 'Bar';
|
||
|
}
|
||
|
|
||
|
public function True()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function False()
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
}
|