/** * Zwraca liste wspisow pasujacych do zadanych parametrow * * @param string $hash * @param integer $tercRegion * @param string $district * @param string $town * @param string $zipcode * @param integer $limit * @throws SoapFault * @return object */ public function searchByParamsStrict($hash, $tercRegion, $district, $town, $zipcode, $limit = 100) { try { // usluga: Kody pocztowe; id: 4 $this->_init($hash, 'Kes)9sW%', 'searchByParamsStrict', array('tercRegion' => $tercRegion, 'district' => $district, 'town' => $town, 'zipcode' => $zipcode, 'limit' => $limit), $this->_revision); $model = new Zipcode(); $results = $model->getDataTownDistrict($town, $district, $tercRegion, $zipcode, $limit); $object = new stdClass(); if (!empty($results)) { $object->resultsList = $results; } else { $object->resultsList = array(); } return $this->_responseHandler($object); } catch (Logic_WebService_Exception $e) { return $this->_faultHandler($e); } }