Completed
Pull Request — 3.1 (#3)
by Gordon
02:49
created

PointsOfInterestLayer::getCMSFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 11

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 14
rs 9.4286
cc 1
eloc 11
nc 1
nop 0
1
<?php
2
3
class PointsOfInterestLayer extends DataObject
4
{
5
    private static $db = array(
6
        'Name' => 'Varchar',
7
        'ShowGuideMarkers' => 'Boolean',
8
    );
9
10
    private static $many_many = array('PointsOfInterest' => 'PointOfInterest');
11
12
    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...
13
        'DefaultIcon' => 'Image',
14
    );
15
}
16