10 defined(
'JPATH_PLATFORM') or die();
28 public function getCapabilities()
31 $base =
'capabilities';
34 $path = $this->getOption(
'api.url') . $base;
37 $response = $this->oauth->oauthRequest($path,
'GET', array());
39 $xml_string = simplexml_load_string($response->body);
56 public function retrieveMapData($left, $bottom, $right, $top)
59 $base =
'map?bbox=' . $left .
',' . $bottom .
',' . $right .
',' . $top;
62 $path = $this->getOption(
'api.url') . $base;
65 $response = $this->oauth->oauthRequest($path,
'GET', array());
67 $xml_string = simplexml_load_string($response->body);
79 public function retrievePermissions()
82 $base =
'permissions';
85 $path = $this->getOption(
'api.url') . $base;
88 $response = $this->oauth->oauthRequest($path,
'GET', array());
90 $xml_string = simplexml_load_string($response->body);