Source of file MapPage.php
Size: 1,213 Bytes - Last Modified: 2021-12-23T10:51:36+00:00
/var/www/docs.ssmods.com/process/src/code/Pages/MapPage.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 | <?php class MapPage extends Page { /** * Static vars * ----------------------------------*/ /** * Object vars * ----------------------------------*/ /** * Static methods * ----------------------------------*/ /** * Data model * ----------------------------------*/ private static $db = array ( ); private static $has_one = array ( ); private static $has_many = array ( ); /** * Common methods * ----------------------------------*/ /** * Accessor methods * ----------------------------------*/ /** * Controller actions * ----------------------------------*/ /** * Template accessors * ----------------------------------*/ /** * Object methods * ----------------------------------*/ } class MapPage_Controller extends Page_Controller { private static $allowed_actions = array ( "GetListingsList", "GetListing" ); public function init() { Requirements::javascript("http://maps.google.com/maps/api/js?sensor=false"); Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js'); Requirements::javascript("realestate/javascript/gmap3.min.js"); parent::init(); } } |