protected function modelGetCustomerDetails($intCustomerId) { ini_set("soap.wsdl_cache_enabled", "0"); $objCLient = new soapclient($this->strApiUrl); $customer = $objCLient->getCustomer($this->strApiKey, $intCustomerId); if ($customer['status']->code == 0) { return $customer['result']; } $this->setError($customer['status']->message); return false; }