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

20 lines
390 B
PHP
Raw Normal View History

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