Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Source for file FeedbackEntry.php

Documentation is available at FeedbackEntry.php

  1. <?PHP
  2. /**
  3.  * Model for a eBay feedback
  4.  *
  5.  *
  6.  * @package Services_Ebay
  7.  * @author  Stephan Schmidt <schst@php.net>
  8.  */
  9. {
  10.    /**
  11.     * get the item, for which the feedback was given
  12.     *
  13.     * @return object Services_Ebay_Model_Item 
  14.     */
  15.     public function getItem()
  16.     {
  17.         $args = array(
  18.                         'Id' => $this->properties['ItemNumber']
  19.                     );
  20.         $call Services_Ebay::loadAPICall('GetItem');
  21.         $call->setArgs($args);
  22.         
  23.         return $call->call($this->session);
  24.     }
  25.     
  26.    /**
  27.     * create string representation of the entry
  28.     *
  29.     * @return string 
  30.     */
  31.     public function __toString()
  32.     {
  33.         return sprintf('%s: %s'$this->properties['CommentingUser']$this->properties['CommentText']);
  34.     }
  35. }
  36. ?>

Documentation generated on Mon, 11 Mar 2019 15:49:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.