| 1 | <?php |
||
| 6 | class LocationAdmin extends ModelAdmin |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | private static $managed_models = array( |
||
| 13 | 'Location', |
||
| 14 | 'LocationCategory', |
||
| 15 | ); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | private static $model_importers = array( |
||
|
|
|||
| 21 | 'Location' => 'LocationCsvBulkLoader', |
||
| 22 | 'LocationCategory' => 'CsvBulkLoader', |
||
| 23 | ); |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private static $menu_title = 'Locator'; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private static $url_segment = 'locator'; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getExportFields() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param null $id |
||
| 64 | * @param null $fields |
||
| 65 | * @return $this|Form |
||
| 66 | */ |
||
| 67 | public function getEditForm($id = null, $fields = null) |
||
| 78 | } |
||
| 79 |
This check marks private properties in classes that are never used. Those properties can be removed.