/** Use the parent get function to get data and render * @access public * @return array */ public function get() { $params = array($this->_system, $this->_coordinates, $this->_box); return parent::get(self::APIMETHOD, $params); }
/** Get the data from the api * @access public * @return object */ public function get() { $params = array($this->_ids, $this->_types, $this->_name); if (sizeof(array_filter($params)) > 1) { throw new Pas_Geo_Mapit_Exception('You have too many method calls'); } return parent::get(self::APIMETHOD, $params); }
/** Get the data from the api * @access public * @return type * @throws Pas_Geo_Mapit_Exception */ public function get() { if (isset($this->_postcode) && isset($this->_partialPostCode)) { throw new Pas_Geo_Mapit_Exception('You cannot use both methods'); } $params = array($this->_partial, $this->_postcode, $this->_partialPostCode); return parent::get(self::APIMETHOD, $params); }
/** Get parent data * @access public * @return type */ public function get() { return parent::get(self::APIMETHOD, $this->_createParams()); }