1 | <?php |
||
3 | class OSMPointOfInterestExtension extends DataExtension |
||
4 | { |
||
5 | private static $db = array( |
||
6 | // No Big Int support yet so use big decimal |
||
7 | 'OpenStreetMapID' => 'Decimal(20,0)', |
||
8 | ); |
||
9 | |||
10 | // given millions of possible POIs an index is handy |
||
11 | private static $indexes = array( |
||
|
|||
12 | 'OpenStreetMapID' => true, |
||
13 | ); |
||
14 | |||
15 | /* The openstreetmap id is only for scripting purposes */ |
||
16 | 1 | public function updateCMSFields(FieldList $fields) |
|
20 | } |
||
21 |
This check marks private properties in classes that are never used. Those properties can be removed.