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

Source for file ValidateTestUserRegistration.php

Documentation is available at ValidateTestUserRegistration.php

  1. <?PHP
  2. /**
  3.  * Validate a test-user registration
  4.  *
  5.  * $Id: ValidateTestUserRegistration.php,v 1.1 2004/10/28 17:14:53 schst Exp $
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  */
  10. {
  11.    /**
  12.     * verb of the API call
  13.     *
  14.     * @var  string 
  15.     */
  16.     protected $verb = 'ValidateTestUserRegistration';
  17.  
  18.    /**
  19.     * parameter map that is used, when scalar parameters are passed
  20.     *
  21.     * @var  array 
  22.     */
  23.     protected $paramMap = array(
  24.                                  'NewFeedbackScore',
  25.                                  'SubscribeSM',
  26.                                  'SubscribeSMPro',
  27.                                  'SubscribeSA',
  28.                                  'SubscribeSAPro'
  29.                                 );
  30.     
  31.     
  32.    /**
  33.     * make the API call
  34.     *
  35.     * @param    object Services_Ebay_Session 
  36.     * @return   string 
  37.     */
  38.     public function call(Services_Ebay_Session $session)
  39.     {
  40.         $return = parent::call($session);
  41.         if ($return['CallStatus']['Status'=== 'Success'{
  42.             return true;
  43.         }
  44.         return false;
  45.     }
  46. }
  47. ?>

Documentation generated on Mon, 11 Mar 2019 13:58:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.