/** * Constructor */ function Customjjwg_MapsController() { parent::jjwg_MapsController(); }
} require_once 'include/utils.php'; require_once 'include/export_utils.php'; /* * The entry point is registered by * custom/include/MVC/Controller/entry_point_registry.php */ if (!empty($_REQUEST['cron'])) { require_once 'modules/jjwg_Maps/jjwg_Maps.php'; require_once 'modules/jjwg_Maps/controller.php'; /* * This script can be used as an entry point for a cron * job to run the address geocoding on a regular basis. * index.php?module=jjwg_Maps&entryPoint=jjwg_Maps&cron=1&limit=2500 */ $controller = new jjwg_MapsController(); $controller->action_geocode_addresses(); exit; } else { /* * This script is also used to pass selected records from * a module list view to the Maps Module (jjwg_Maps). * * Multiple records are posted thru 'uid' (comma separated) or * 'current_post' (see export_utils.php) * * A Javascript post method is required here as the * parameters are sometimes too long for a get method * * Search Types * 1.) Default - All Records - Map