当前位置: 首页>>代码示例>>PHP>>正文


PHP Zend_Service_DeveloperGarden_Response_BaseType类代码示例

本文整理汇总了PHP中Zend_Service_DeveloperGarden_Response_BaseType的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Service_DeveloperGarden_Response_BaseType类的具体用法?PHP Zend_Service_DeveloperGarden_Response_BaseType怎么用?PHP Zend_Service_DeveloperGarden_Response_BaseType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Zend_Service_DeveloperGarden_Response_BaseType类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: hasError

 /**
  * overwrite hasError to not handle 0103 error (empty result)
  *
  * @return boolean
  */
 public function hasError()
 {
     $result = parent::hasError();
     if (!$result && $this->statusCode == '0103') {
         $result = false;
     }
     return $result;
 }
开发者ID:netvlies,项目名称:zf,代码行数:13,代码来源:LocalSearchResponse.php

示例2: 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

示例3: 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

示例4: 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类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。