| Total Complexity | 0 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Contact extends DataObject implements TestOnly |
||
| 9 | { |
||
| 10 | private static $table_name = 'ModelAdminPlus_Contact'; |
||
|
|
|||
| 11 | |||
| 12 | private static $db = [ |
||
| 13 | 'Name' => 'Varchar', |
||
| 14 | 'Phone' => 'Varchar' |
||
| 15 | ]; |
||
| 16 | |||
| 17 | private static $summary_fields = [ |
||
| 18 | 'ID' => 'ID', |
||
| 19 | 'Name' => 'Name' |
||
| 20 | ]; |
||
| 21 | |||
| 22 | private static $export_fields = [ |
||
| 23 | 'Name' => 'Name', |
||
| 24 | 'Phone'=> 'Phone' |
||
| 25 | ]; |
||
| 27 |