silverstripe-framework/tests/php/Forms/CheckboxSetFieldTest/Article.php

20 lines
388 B
PHP
Raw Permalink Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Forms\Tests\CheckboxSetFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class Article extends DataObject implements TestOnly
{
private static $table_name = 'CheckboxSetFieldTest_Article';
2016-10-14 03:30:05 +02:00
private static $db = [
"Content" => "Text",
];
2016-10-14 03:30:05 +02:00
private static $many_many = [
"Tags" => Tag::class,
];
2016-10-14 03:30:05 +02:00
}