silverstripe-cms/tests/php/Model/VirtualPageTest_TestDBField.php
2017-08-09 17:09:28 +12:00

15 lines
285 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Model;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\FieldType\DBVarchar;
class VirtualPageTest_TestDBField extends DBVarchar implements TestOnly
{
public function forTemplate()
{
return strtoupper($this->XML());
}
}