| 1 | <?php |
||
| 3 | class PointsOfInterestAdmin extends ModelAdmin |
||
| 4 | { |
||
| 5 | private static $managed_models = array('PointsOfInterestLayer', 'PointOfInterest'); |
||
| 6 | private static $url_segment = 'poi'; |
||
| 7 | private static $menu_title = 'Points of Interest'; |
||
| 8 | private static $menu_icon = '/mappable/icons/menuicon.png'; |
||
| 9 | |||
| 10 | private static $has_one = array( |
||
|
|
|||
| 11 | 'DefaultIcon' => 'Image', |
||
| 12 | ); |
||
| 13 | } |
||
| 14 |
This check marks private properties in classes that are never used. Those properties can be removed.