Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php// autogenerated file 22.07.2011 09:27// $Id: GetContextualKeywordsRequestType.php 4066 2011-11-03 08:13:59Z tiefland $// $Log: $////require_once 'AbstractRequestType.php';/*** Retrieves top-ranked contextual eBay keywords and categoriesfor a specified web* page.** @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/GetContextualKeywordsRequestType.html**/class GetContextualKeywordsRequestType extends AbstractRequestType{/*** @var anyURI*/protected $URL;/*** @var string*/protected $Encoding;/*** @var string*/protected $CategoryID;/*** @return anyURI*/function getURL(){return $this->URL;}/*** @return void* @param anyURI $value*/function setURL($value){$this->URL = $value;}/*** @return string*/function getEncoding(){return $this->Encoding;}/*** @return void* @param string $value*/function setEncoding($value){$this->Encoding = $value;}/*** @return string* @param integer $index*/function getCategoryID($index = null){if ($index !== null) {return $this->CategoryID[$index];} else {return $this->CategoryID;}}/*** @return void* @param string $value* @param $index*/function setCategoryID($value, $index = null){if ($index !== null) {$this->CategoryID[$index] = $value;} else {$this->CategoryID = $value;}}/*** @return void* @param string $value*/function addCategoryID($value){$this->CategoryID[] = $value;}/*** @return*/function __construct(){parent::__construct('GetContextualKeywordsRequestType', 'urn:ebay:apis:eBLBaseComponents');if (!isset(self::$_elements[__CLASS__]))self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],array('URL' =>array('required' => false,'type' => 'anyURI','nsURI' => 'http://www.w3.org/2001/XMLSchema','array' => false,'cardinality' => '0..1'),'Encoding' =>array('required' => false,'type' => 'string','nsURI' => 'http://www.w3.org/2001/XMLSchema','array' => false,'cardinality' => '0..1'),'CategoryID' =>array('required' => false,'type' => 'string','nsURI' => 'http://www.w3.org/2001/XMLSchema','array' => true,'cardinality' => '0..*')));}}?>