| 1 | <?php  | 
            ||
| 3 | class PointOfInterest extends DataObject  | 
            ||
| 4 | { | 
            ||
| 5 | private static $description = 'Represents a point of interest on a map, e.g. railway station';  | 
            ||
| 6 | |||
| 7 |     private static $belongs_many_many = array('PointsOfInterestLayers' => 'PointsOfInterestLayer'); | 
            ||
| 8 | |||
| 9 | private static $db = array(  | 
            ||
| 10 | 'Name' => 'Varchar',  | 
            ||
| 11 | );  | 
            ||
| 12 | |||
| 13 |     private static $summary_fields = array('Name', 'Lat', 'Lon'); | 
            ||
| 14 | |||
| 15 | private static $default_sort = 'Name';  | 
            ||
| 16 | |||
| 17 | 2 | public function getCMSFields()  | 
            |
| 43 | }  | 
            ||
| 44 |