Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class SolrLog extends DataObject |
||
16 | { |
||
17 | |||
18 | private static $table_name = 'SolrLog'; |
||
19 | |||
20 | private static $db = [ |
||
21 | 'Message' => 'Text', |
||
22 | 'Index' => 'Varchar(255)', |
||
23 | 'Type' => 'Enum("Config,Index,Query")' |
||
24 | ]; |
||
25 | |||
26 | private static $summary_fields = [ |
||
1 ignored issue
–
show
|
|||
27 | 'Created', |
||
28 | 'Index', |
||
29 | 'Type' |
||
30 | ]; |
||
31 | |||
32 | private static $sort = 'Created DESC'; |
||
1 ignored issue
–
show
|
|||
33 | |||
34 | public function canCreate($member = null, $context = []) |
||
35 | { |
||
36 | return false; |
||
37 | } |
||
38 | |||
39 | public function canEdit($member = null) |
||
42 | } |
||
43 | } |
||
44 |