Zend Framework
1.12
|
Public Member Functions | |
__construct ($options) | |
setClient ($client) | |
getClient () | |
findItemsAdvanced ($keywords, $descriptionSearch=true, $categoryId=null, $options=null) | |
Finds items by a keyword query and/or category and allows searching within item descriptions. | |
findItemsByCategory ($categoryId, $options=null) | |
Finds items in a specific category. | |
findItemsByKeywords ($keywords, $options=null) | |
Finds items on eBay based upon a keyword query and returns details for matching items. | |
findItemsByProduct ($productId, $productIdType=null, $options=null) | |
Finds items based upon a product ID, such as an ISBN, UPC, EAN, or ePID. | |
findItemsInEbayStores ($storeName, $options=null) | |
Finds items in eBay stores. | |
getHistograms ($categoryId, $options=null) | |
Gets category and/or aspect metadata for the specified category. | |
getSearchKeywordsRecommendation ($keywords, $options=null) | |
Checks specified keywords and returns correctly spelled keywords for best search results. | |
![]() | |
__construct ($options=null) | |
setOption ($name, $value=null) | |
getOption ($name=null) | |
hasOption ($name) | |
setClient ($client) | |
getClient () | |
Static Public Member Functions | |
static | getXmlNamespaces () |
![]() | |
static | optionsToArray ($options) |
static | toEbayValue ($value) |
Translate native PHP values format to ebay format for request. | |
static | toPhpValue ($value, $type) |
Translate an ebay value format to native PHP type. | |
Public Attributes | |
const | SERVICE_NAME = 'FindingService' |
const | SERVICE_VERSION = '1.0.0' |
const | RESPONSE_DATA_FORMAT = 'XML' |
const | ENDPOINT_URI = 'http://svcs.ebay.com' |
const | ENDPOINT_PATH = 'services/search/FindingService/v1' |
const | XMLNS_FINDING = 'e' |
const | XMLNS_MS = 'ms' |
![]() | |
const | OPTION_APP_ID = 'app_id' |
const | OPTION_GLOBAL_ID = 'global_id' |
Protected Member Functions | |
_findItems (array $options, $operation) | |
_request ($operation, array $options=null) | |
_parseResponse (Zend_Http_Response $response) | |
Search for error from request. | |
![]() | |
_optionsToNameValueSyntax ($options) | |
Implements Name-value Syntax translator. | |
Protected Attributes | |
$_options | |
![]() | |
$_options = array() | |
$_client | |
Static Protected Attributes | |
static | $_xmlNamespaces |
__construct | ( | $options | ) |
Zend_Config | array | string | $options | Application Id or array of options |
Zend_Service_Ebay_Finding_Exception | When application id is missing |
|
protected |
array | $options | |
string | $operation |
|
protected |
Search for error from request.
If any error is found a DOMDocument is returned, this object contains a DOMXPath object as "ebayFindingXPath" attribute.
|
protected |
string | $operation | |
array | $options | DOMDocument |
findItemsAdvanced | ( | $keywords, | |
$descriptionSearch = true , |
|||
$categoryId = null , |
|||
$options = null |
|||
) |
Finds items by a keyword query and/or category and allows searching within item descriptions.
string | $keywords | |
boolean | $descriptionSearch | |
integer | $categoryId | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Items |
findItemsByCategory | ( | $categoryId, | |
$options = null |
|||
) |
Finds items in a specific category.
Results can be filtered and sorted.
integer | $categoryId | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Items |
findItemsByKeywords | ( | $keywords, | |
$options = null |
|||
) |
Finds items on eBay based upon a keyword query and returns details for matching items.
string | $keywords | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Items |
findItemsByProduct | ( | $productId, | |
$productIdType = null , |
|||
$options = null |
|||
) |
Finds items based upon a product ID, such as an ISBN, UPC, EAN, or ePID.
integer | $productId | |
string | $productIdType | Default value is ReferenceID |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Items |
findItemsInEbayStores | ( | $storeName, | |
$options = null |
|||
) |
Finds items in eBay stores.
Can search a specific store or can search all stores with a keyword query.
string | $storeName | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Items |
getClient | ( | ) |
getHistograms | ( | $categoryId, | |
$options = null |
|||
) |
Gets category and/or aspect metadata for the specified category.
integer | $categoryId | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Histograms |
getSearchKeywordsRecommendation | ( | $keywords, | |
$options = null |
|||
) |
Checks specified keywords and returns correctly spelled keywords for best search results.
string | $keywords | |
Zend_Config | array | $options | Zend_Service_Ebay_Finding_Response_Keywords |
|
static |
setClient | ( | $client | ) |
Zend_Rest_Client | $client |
|
protected |
|
staticprotected |
const ENDPOINT_PATH = 'services/search/FindingService/v1' |
const ENDPOINT_URI = 'http://svcs.ebay.com' |
const RESPONSE_DATA_FORMAT = 'XML' |
const SERVICE_NAME = 'FindingService' |
const SERVICE_VERSION = '1.0.0' |
const XMLNS_FINDING = 'e' |
const XMLNS_MS = 'ms' |