Issues (24)

tests/Contact.php (4 issues)

1
<?php
2
3
namespace ilateral\SilverStripe\ModelAdminPlus\Tests;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
8
class Contact extends DataObject implements TestOnly
9
{
10
    private static $table_name = 'ModelAdminPlus_Contact';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
11
12
    private static $db = [
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
13
        'Name' => 'Varchar',
14
        'Phone' => 'Varchar'
15
    ];
16
17
    private static $summary_fields = [
0 ignored issues
show
The private property $summary_fields is not used, and could be removed.
Loading history...
18
        'ID' => 'ID',
19
        'Name' => 'Name'
20
    ];
21
22
    private static $export_fields = [
0 ignored issues
show
The private property $export_fields is not used, and could be removed.
Loading history...
23
        'Name' => 'Name',
24
        'Phone'=> 'Phone'
25
    ];
26
}
27