PointsOfInterestAdmin
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 11
ccs 0
cts 0
cp 0
1
<?php
2
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(
0 ignored issues
show
Unused Code introduced by
The property $has_one is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
11
        'DefaultIcon' => 'Image',
12
    );
13
}
14