Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php// autogenerated file 22.07.2011 09:27// $Id: $// $Log: $////require_once 'EbatNs_ComplexType.php';require_once 'WantItNowPostType.php';/*** Container for a list of search result items. Can contain zero, one, or* multipleWantItNowPostType objects, each of which contains data for a single Want* It Nowpost found by the search.** @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/WantItNowPostArrayType.html**/class WantItNowPostArrayType extends EbatNs_ComplexType{/*** @var WantItNowPostType*/protected $WantItNowPost;/*** @return WantItNowPostType* @param integer $index*/function getWantItNowPost($index = null){if ($index !== null) {return $this->WantItNowPost[$index];} else {return $this->WantItNowPost;}}/*** @return void* @param WantItNowPostType $value* @param $index*/function setWantItNowPost($value, $index = null){if ($index !== null) {$this->WantItNowPost[$index] = $value;} else {$this->WantItNowPost = $value;}}/*** @return void* @param WantItNowPostType $value*/function addWantItNowPost($value){$this->WantItNowPost[] = $value;}/*** @return*/function __construct(){parent::__construct('WantItNowPostArrayType', 'urn:ebay:apis:eBLBaseComponents');if (!isset(self::$_elements[__CLASS__]))self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],array('WantItNowPost' =>array('required' => false,'type' => 'WantItNowPostType','nsURI' => 'urn:ebay:apis:eBLBaseComponents','array' => true,'cardinality' => '0..*')));}}?>