Source of file Page.php
Size: 0,817 Bytes - Last Modified: 2021-12-23T10:41:51+00:00
/var/www/docs.ssmods.com/process/src/_examples/Page.php
12345678910111213141516171819202122232425262728 | <?php class Page extends SiteTree { public function CustomAjaxInfoWindow() { return "my custom message"; } } class Page_Controller extends ContentController { public function init() { parent::init(); //$this->addMap("showemptymap"); $this->hasGeoInfo = true; $this->addMap("showPagePointsMapXML"); //$this->addExtraLayer(...); //loadmap - test as /home/loadmap/.... //$this->addExtraLayersUsingRawLink(...); //$this->addAddress("128 evans bay parade, wellington, new zealand"); //$this->addAllowAddingAndDeletingPoints(...); //$this->addUpdateServerUrlAddressSearchPoint(...); //$this->addUpdateServerUrlDragend(...); //$this->clearCustomMaps(...); //$this->addCustomMap(...); } } |