Source for file Call.php
Documentation is available at Call.php
* base class for API call objects
* $Id: Call.php,v 1.2 2004/10/29 21:16:49 schst Exp $
* @author Stephan Schmidt <schst@php.net
* @todo implement __toString()
* @todo allow rules for parameters
protected $args = array ();
* authentication type of the call
protected $authType = Services_Ebay ::AUTH_TYPE_TOKEN;
* parameter map that is used, when scalar parameters are passed
* options that will be passed to the serializer
* @param array arguments to the call
if ($this->verb === null ) {
// arguments have been passed as assoc array
if (isset ($args[0 ]) && is_array($args[0 ])) {
for ($i = 0; $i < $cnt; $i++ ) {
* @param object Services_Ebay_Session
public function call(Services_Ebay_Session $session)
* set arguments for the API call
* set the detail level for this call
$this->args['DetailLevel'] = $level;
* This returns information about the possible parameters
echo 'API-Call : '. $this->verb. "\n";
if (isset ($this->args[$param])) {
echo '('. $this->args[$param]. ')';
echo '(no default value)';
Documentation generated on Mon, 11 Mar 2019 13:58:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|