Source of file TestLocation.php
Size: 0,527 Bytes - Last Modified: 2021-12-23T10:37:40+00:00
/var/www/docs.ssmods.com/process/src/tests/php/TestLocation.php
12345678910111213141516171819202122232425262728 | <?php namespace Smindel\GIS\Tests; use SilverStripe\ORM\DataObject; use SilverStripe\Dev\TestOnly; class TestLocation extends DataObject implements TestOnly { private static $table_name = 'TestLocation'; private static $db = [ 'Name' => 'Varchar', 'GeoLocation' => 'Geometry', ]; private static $default_sort = 'Name'; private static $geojsonservice = true; private static $webmaptileservice = true; public function canView($member = null) { return true; } } |