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


PHP Zend_Service_Ebay_Finding_Abstract::_init方法代码示例

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


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

示例1: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->categoryId = $this->_query(".//{$ns}:categoryId[1]", 'string');
     $this->categoryName = $this->_query(".//{$ns}:categoryName[1]", 'string');
 }
开发者ID:alanaipe2015,项目名称:moodle,代码行数:10,代码来源:Category.php

示例2: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->storeName = $this->_query(".//{$ns}:storeName[1]", 'string');
     $this->storeURL = $this->_query(".//{$ns}:storeURL[1]", 'string');
 }
开发者ID:anunay,项目名称:stentors,代码行数:10,代码来源:Storefront.php

示例3: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $nodes = $this->_xPath->query(".//{$ns}:item", $this->_dom);
     if ($nodes) {
         /**
          * @see Zend_Service_Ebay_Finding_Search_Item_Set
          */
         require_once 'Zend/Service/Ebay/Finding/Search/Item/Set.php';
         $this->item = new Zend_Service_Ebay_Finding_Search_Item_Set($nodes);
     }
 }
开发者ID:georgepaul,项目名称:songslikesocial,代码行数:16,代码来源:Result.php

示例4: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $nodes = $this->_xPath->query(".//{$ns}:categoryHistogram", $this->_dom);
     if ($nodes->length > 0) {
         /**
          * @see Zend_Service_Ebay_Finding_Category_Histogram_Set
          */
         #require_once 'Zend/Service/Ebay/Finding/Category/Histogram/Set.php';
         $this->categoryHistogram = new Zend_Service_Ebay_Finding_Category_Histogram_Set($nodes);
     }
 }
开发者ID:par-orillonsoft,项目名称:Magento,代码行数:16,代码来源:Container.php

示例5: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->_attributes['valueHistogram'] = array('valueName' => $this->_query(".//{$ns}:valueHistogram/@valueName", 'string', true));
     $nodes = $this->_xPath->query(".//{$ns}:valueHistogram", $this->_dom);
     if ($nodes->length > 0) {
         /**
          * @see Zend_Service_Ebay_Finding_Aspect_Histogram_Value_Set
          */
         #require_once 'Zend/Service/Ebay/Finding/Aspect/Histogram/Value/Set.php';
         $this->valueHistogram = new Zend_Service_Ebay_Finding_Aspect_Histogram_Value_Set($nodes);
     }
 }
开发者ID:evgeniarudoman,项目名称:magento-ce-1.9,代码行数:17,代码来源:Aspect.php

示例6: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->domainDisplayName = $this->_query(".//{$ns}:domainDisplayName[1]", 'string');
     $this->domainName = $this->_query(".//{$ns}:domainName[1]", 'string');
     $this->_attributes['aspect'] = array('name' => $this->_query(".//{$ns}:aspect/@name", 'string', true));
     $nodes = $this->_xPath->query(".//{$ns}:aspect", $this->_dom);
     if ($nodes->length > 0) {
         /**
          * @see Zend_Service_Ebay_Finding_Aspect_Set
          */
         // require_once 'Zend/Service/Ebay/Finding/Aspect/Set.php';
         $this->aspect = new Zend_Service_Ebay_Finding_Aspect_Set($nodes);
     }
 }
开发者ID:JaroslavRamba,项目名称:ex-facebook-bundle,代码行数:19,代码来源:Container.php

示例7: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->entriesPerPage = $this->_query(".//{$ns}:entriesPerPage[1]", 'integer');
     $this->pageNumber = $this->_query(".//{$ns}:pageNumber[1]", 'integer');
     $this->totalEntries = $this->_query(".//{$ns}:totalEntries[1]", 'integer');
     $this->totalPages = $this->_query(".//{$ns}:totalPages[1]", 'integer');
 }
开发者ID:Nerutiz,项目名称:trades,代码行数:12,代码来源:PaginationOutput.php

示例8: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->ack = $this->_query(".//{$ns}:ack[1]", 'string');
     $this->timestamp = $this->_query(".//{$ns}:timestamp[1]", 'string');
     $this->version = $this->_query(".//{$ns}:version[1]", 'string');
     $node = $this->_xPath->query(".//{$ns}:errorMessage[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_Error_Message
          */
         require_once 'Zend/Service/Ebay/Finding/Error/Message.php';
         $this->errorMessage = new Zend_Service_Ebay_Finding_Error_Message($node);
     }
 }
开发者ID:Simarpreet05,项目名称:joomla,代码行数:19,代码来源:Abstract.php

示例9: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->autoPay = $this->_query(".//{$ns}:autoPay[1]", 'boolean');
     $this->charityId = $this->_query(".//{$ns}:charityId[1]", 'integer');
     $this->country = $this->_query(".//{$ns}:country[1]", 'string');
     $this->distance = $this->_query(".//{$ns}:distance[1]", 'float');
     $this->galleryPlusPictureURL = $this->_query(".//{$ns}:galleryPlusPictureURL", 'string', true);
     $this->galleryURL = $this->_query(".//{$ns}:galleryURL[1]", 'string');
     $this->globalId = $this->_query(".//{$ns}:globalId[1]", 'string');
     $this->itemId = $this->_query(".//{$ns}:itemId[1]", 'string');
     $this->location = $this->_query(".//{$ns}:location[1]", 'string');
     $this->paymentMethod = $this->_query(".//{$ns}:paymentMethod", 'string', true);
     $this->postalCode = $this->_query(".//{$ns}:postalCode[1]", 'string');
     $this->productId = $this->_query(".//{$ns}:productId[1]", 'string');
     $this->subtitle = $this->_query(".//{$ns}:subtitle[1]", 'string');
     $this->title = $this->_query(".//{$ns}:title[1]", 'string');
     $this->viewItemURL = $this->_query(".//{$ns}:viewItemURL[1]", 'string');
     $this->_attributes['distance'] = array('unit' => $this->_query(".//{$ns}:distance[1]/@unit[1]", 'string'));
     $this->_attributes['productId'] = array('type' => $this->_query(".//{$ns}:productId[1]/@type[1]", 'string'));
     $node = $this->_xPath->query(".//{$ns}:listingInfo[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_ListingInfo
          */
         #require_once 'Zend/Service/Ebay/Finding/ListingInfo.php';
         $this->listingInfo = new Zend_Service_Ebay_Finding_ListingInfo($node);
     }
     $node = $this->_xPath->query(".//{$ns}:primaryCategory[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_Category
          */
         #require_once 'Zend/Service/Ebay/Finding/Category.php';
         $this->primaryCategory = new Zend_Service_Ebay_Finding_Category($node);
     }
     $node = $this->_xPath->query(".//{$ns}:secondaryCategory[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_Category
          */
         #require_once 'Zend/Service/Ebay/Finding/Category.php';
         $this->secondaryCategory = new Zend_Service_Ebay_Finding_Category($node);
     }
     $node = $this->_xPath->query(".//{$ns}:sellerInfo[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_SellerInfo
          */
         #require_once 'Zend/Service/Ebay/Finding/SellerInfo.php';
         $this->sellerInfo = new Zend_Service_Ebay_Finding_SellerInfo($node);
     }
     $node = $this->_xPath->query(".//{$ns}:sellingStatus[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_SellingStatus
          */
         #require_once 'Zend/Service/Ebay/Finding/SellingStatus.php';
         $this->sellingStatus = new Zend_Service_Ebay_Finding_SellingStatus($node);
     }
     $node = $this->_xPath->query("./{$ns}:shippingInfo", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_ShippingInfo
          */
         #require_once 'Zend/Service/Ebay/Finding/ShippingInfo.php';
         $this->shippingInfo = new Zend_Service_Ebay_Finding_ShippingInfo($node);
     }
     $node = $this->_xPath->query(".//{$ns}:storeInfo[1]", $this->_dom)->item(0);
     if ($node) {
         /**
          * @see Zend_Service_Ebay_Finding_Storefront
          */
         #require_once 'Zend/Service/Ebay/Finding/Storefront.php';
         $this->storeInfo = new Zend_Service_Ebay_Finding_Storefront($node);
     }
 }
开发者ID:SalesOneGit,项目名称:s1_magento,代码行数:81,代码来源:Item.php

示例10: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->category = $this->_query(".//{$ns}:category[1]", 'string');
     $this->domain = $this->_query(".//{$ns}:domain[1]", 'string');
     $this->errorId = $this->_query(".//{$ns}:errorId[1]", 'integer');
     $this->exceptionId = $this->_query(".//{$ns}:exceptionId[1]", 'string');
     $this->message = $this->_query(".//{$ns}:message[1]", 'string');
     $this->parameter = $this->_query(".//{$ns}:parameter", 'string', true);
     $this->severity = $this->_query(".//{$ns}:severity[1]", 'string');
     $this->subdomain = $this->_query(".//{$ns}:subdomain[1]", 'string');
     $this->_attributes['parameter'] = array('name' => $this->_query(".//{$ns}:parameter/@name", 'string', true));
 }
开发者ID:par-orillonsoft,项目名称:Magento,代码行数:17,代码来源:Data.php

示例11: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->shippingServiceCost = $this->_query(".//{$ns}:shippingServiceCost[1]", 'float');
     $this->shippingType = $this->_query(".//{$ns}:shippingType[1]", 'string');
     $this->shipToLocations = $this->_query(".//{$ns}:shipToLocations", 'string', true);
     $this->_attributes['shippingServiceCost'] = array('currencyId' => $this->_query(".//{$ns}:shippingServiceCost[1]/@currencyId[1]", 'string'));
 }
开发者ID:chucky515,项目名称:Magento-CE-Mirror,代码行数:12,代码来源:ShippingInfo.php

示例12: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->bidCount = $this->_query(".//{$ns}:bidCount[1]", 'integer');
     $this->convertedCurrentPrice = $this->_query(".//{$ns}:convertedCurrentPrice[1]", 'float');
     $this->currentPrice = $this->_query(".//{$ns}:currentPrice[1]", 'float');
     $this->sellingState = $this->_query(".//{$ns}:sellingState[1]", 'string');
     $this->timeLeft = $this->_query(".//{$ns}:timeLeft[1]", 'string');
     $this->_attributes['convertedCurrentPrice'] = array('currencyId' => $this->_query(".//{$ns}:convertedCurrentPrice[1]/@currencyId[1]", 'string'));
     $this->_attributes['currentPrice'] = array('currencyId' => $this->_query(".//{$ns}:currentPrice[1]/@currencyId[1]", 'string'));
 }
开发者ID:Simarpreet05,项目名称:joomla,代码行数:15,代码来源:SellingStatus.php

示例13: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->count = $this->_query(".//{$ns}:count[1]", 'integer');
 }
开发者ID:Nerutiz,项目名称:trades,代码行数:9,代码来源:Value.php

示例14: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->bestOfferEnabled = $this->_query(".//{$ns}:bestOfferEnabled[1]", 'boolean');
     $this->buyItNowAvailable = $this->_query(".//{$ns}:buyItNowAvailable[1]", 'boolean');
     $this->buyItNowPrice = $this->_query(".//{$ns}:buyItNowPrice[1]", 'float');
     $this->convertedBuyItNowPrice = $this->_query(".//{$ns}:convertedBuyItNowPrice[1]", 'float');
     $this->endTime = $this->_query(".//{$ns}:endTime[1]", 'string');
     $this->gift = $this->_query(".//{$ns}:gift[1]", 'boolean');
     $this->listingType = $this->_query(".//{$ns}:listingType[1]", 'string');
     $this->startTime = $this->_query(".//{$ns}:startTime[1]", 'string');
     $this->_attributes['buyItNowPrice'] = array('currencyId' => $this->_query(".//{$ns}:buyItNowPrice[1]/@currencyId[1]", 'string'));
     $this->_attributes['convertedBuyItNowPrice'] = array('currencyId' => $this->_query(".//{$ns}:convertedBuyItNowPrice[1]/@currencyId[1]", 'string'));
 }
开发者ID:jkimdon,项目名称:cohomeals,代码行数:18,代码来源:ListingInfo.php

示例15: _init

 /**
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $ns = Zend_Service_Ebay_Finding::XMLNS_FINDING;
     $this->feedbackRatingStar = $this->_query(".//{$ns}:feedbackRatingStar[1]", 'string');
     $this->feedbackScore = $this->_query(".//{$ns}:feedbackScore[1]", 'integer');
     $this->positiveFeedbackPercent = $this->_query(".//{$ns}:positiveFeedbackPercent[1]", 'float');
     $this->sellerUserName = $this->_query(".//{$ns}:sellerUserName[1]", 'string');
     $this->topRatedSeller = $this->_query(".//{$ns}:topRatedSeller[1]", 'boolean');
 }
开发者ID:alanaipe2015,项目名称:moodle,代码行数:13,代码来源:SellerInfo.php


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