silverstripe-cms/tests/model/VirtualPageTest_TestDBField.php

13 lines
244 B
PHP
Raw Normal View History

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