當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。