1 | <?php |
||
2 | |||
3 | namespace SilverStripe\TagField\Tests\Stub; |
||
4 | |||
5 | use SilverStripe\Dev\TestOnly; |
||
6 | use SilverStripe\ORM\DataObject; |
||
7 | use SilverStripe\TagField\Tests\Stub\TagFieldTestBlogPost; |
||
8 | |||
9 | class TagFieldTestBlogTag extends DataObject implements TestOnly |
||
10 | { |
||
11 | private static $table_name = 'TagFieldTestBlogTag'; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
12 | |||
13 | private static $default_sort = '"TagFieldTestBlogTag"."ID" ASC'; |
||
0 ignored issues
–
show
|
|||
14 | |||
15 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
16 | 'Title' => 'Varchar(200)' |
||
17 | ]; |
||
18 | |||
19 | private static $belongs_many_many = [ |
||
0 ignored issues
–
show
|
|||
20 | 'BlogPosts' => TagFieldTestBlogPost::class |
||
21 | ]; |
||
22 | } |
||
23 |