當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Zend_Service_DeveloperGarden_Response_BaseType::parse方法代碼示例

本文整理匯總了PHP中Zend_Service_DeveloperGarden_Response_BaseType::parse方法的典型用法代碼示例。如果您正苦於以下問題:PHP Zend_Service_DeveloperGarden_Response_BaseType::parse方法的具體用法?PHP Zend_Service_DeveloperGarden_Response_BaseType::parse怎麽用?PHP Zend_Service_DeveloperGarden_Response_BaseType::parse使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Zend_Service_DeveloperGarden_Response_BaseType的用法示例。


在下文中一共展示了Zend_Service_DeveloperGarden_Response_BaseType::parse方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: parse

 /**
  * implement own parsing mechanism to fix broken wsdl implementation
  */
 public function parse()
 {
     parent::parse();
     if (is_array($this->ipAddressLocation)) {
         foreach ($this->ipAddressLocation as $address) {
             $address->parse();
         }
     } elseif ($this->ipAddressLocation instanceof Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType) {
         $this->ipAddressLocation->parse();
     }
     return $this;
 }
開發者ID:netvlies,項目名稱:zf,代碼行數:15,代碼來源:LocateIPResponse.php

示例2: parse

 /**
  * parse the response data and throws exceptions
  *
  * @throws Zend_Service_DeveloperGarden_Response_Exception
  * @return mixed
  */
 public function parse()
 {
     $retVal = $this->getResponse();
     if ($retVal === null) {
         $this->statusCode = 9999;
         $this->statusMessage = 'Internal response property not found.';
     } else {
         $this->statusCode = $retVal->getStatusCode();
         $this->statusMessage = $retVal->getStatusMessage();
     }
     parent::parse();
     return $retVal;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:19,代碼來源:ConferenceCallAbstract.php

示例3: parse

 /**
  * implement parsing
  *
  */
 public function parse()
 {
     parent::parse();
     if ($this->isInCity === null) {
         // require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php';
         $this->isInCity = new Zend_Service_DeveloperGarden_Response_IpLocation_CityType();
     }
     if ($this->isInRegion === null) {
         // require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php';
         $this->isInRegion = new Zend_Service_DeveloperGarden_Response_IpLocation_RegionType();
     }
     if ($this->isInGeo === null) {
         // require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php';
         $this->isInGeo = new Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType();
     }
     return $this;
 }
開發者ID:alefernie,項目名稱:intranet,代碼行數:21,代碼來源:IPAddressLocationType.php


注:本文中的Zend_Service_DeveloperGarden_Response_BaseType::parse方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。