silverstripe-framework/tests/php/Forms/CheckboxFieldtest/MutiEnumArticle.php

17 lines
391 B
PHP

<?php
namespace SilverStripe\Forms\Tests\CheckboxSetFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class MultiEnumArticle extends DataObject implements TestOnly
{
private static $table_name = 'CheckboxSetFieldTest_MultiEnumArticle';
private static $db = array(
"Content" => "Text",
"Colours" => "MultiEnum('Red,Blue,Green')",
);
}