xmlrpcresp Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 xmlrpcresp ($val, $fcode=0, $fstr= '', $valtyp='')
 faultCode ()
 faultString ()
 value ()
 cookies ()
 serialize ($charset_encoding='')

Öffentliche Attribute

 $val = 0
 $valtyp
 $errno = 0
 $errstr = ''
 $payload
 $hdrs = array()
 $_cookies = array()
 $content_type = 'text/xml'
 $raw_data = ''


Ausführliche Beschreibung

Definiert in Zeile 1911 der Datei xmlrpc.inc.


Dokumentation der Elementfunktionen

xmlrpcresp::cookies (  ) 

Returns an array with the cookies received from the server. Array has the form: $cookiename => array ('value' => $val, $attr1 => $val1, $attr2 = $val2, ...) with attributes being e.g. 'expires', 'path', domain'. NB: cookies sent as 'expired' by the server (i.e. with an expiry date in the past) are still present in the array. It is up to the user-defined code to decide how to use the received cookies, and wheter they have to be sent back with the next request to the server (using xmlrpc_client::setCookie) or not

Rückgabe:
array array of cookies received from the server public

Definiert in Zeile 2012 der Datei xmlrpc.inc.

xmlrpcresp::faultCode (  ) 

Returns the error code of the response.

Rückgabe:
integer the error code of this response (0 for not-error responses) public

Definiert in Zeile 1976 der Datei xmlrpc.inc.

xmlrpcresp::faultString (  ) 

Returns the error code of the response.

Rückgabe:
string the error string of this response ('' for not-error responses) public

Definiert in Zeile 1986 der Datei xmlrpc.inc.

xmlrpcresp::serialize ( charset_encoding = ''  ) 

Returns xml representation of the response. XML prologue not included

Parameter:
string $charset_encoding the charset to be used for serialization. if null, US-ASCII is assumed
Rückgabe:
string the xml representation of the response public

Noch zu erledigen:
try to build something serializable?

Definiert in Zeile 2023 der Datei xmlrpc.inc.

Benutzt $GLOBALS.

xmlrpcresp::value (  ) 

Returns the value received by the server.

Rückgabe:
mixed the xmlrpcval object returned by the server. Might be an xml string or php value if the response has been created by specially configured xmlrpc_client objects public

Definiert in Zeile 1996 der Datei xmlrpc.inc.

xmlrpcresp::xmlrpcresp ( val,
fcode = 0,
fstr = '',
valtyp = '' 
)

Parameter:
mixed $val either an xmlrpcval obj, a php value or the xml serialization of an xmlrpcval (a string)
integer $fcode set it to anything but 0 to create an error response
string $fstr the error string, in case of an error response
string $valtyp either 'xmlrpcvals', 'phpvals' or 'xml'
Noch zu erledigen:
add check that $val / $fcode / $fstr is of correct type??? NB: as of now we do not do it, since it might be either an xmlrpcval or a plain php val, or a complete xml chunk, depending on usage of xmlrpc_client::send() inside which creator is called...

Definiert in Zeile 1933 der Datei xmlrpc.inc.

Benutzt $val und $valtyp.


Dokumentation der Datenelemente

xmlrpcresp::$_cookies = array()

Definiert in Zeile 1919 der Datei xmlrpc.inc.

xmlrpcresp::$content_type = 'text/xml'

Definiert in Zeile 1920 der Datei xmlrpc.inc.

xmlrpcresp::$errno = 0

Definiert in Zeile 1915 der Datei xmlrpc.inc.

xmlrpcresp::$errstr = ''

Definiert in Zeile 1916 der Datei xmlrpc.inc.

xmlrpcresp::$hdrs = array()

Definiert in Zeile 1918 der Datei xmlrpc.inc.

xmlrpcresp::$payload

Definiert in Zeile 1917 der Datei xmlrpc.inc.

xmlrpcresp::$raw_data = ''

Definiert in Zeile 1921 der Datei xmlrpc.inc.

xmlrpcresp::$val = 0

Definiert in Zeile 1913 der Datei xmlrpc.inc.

Wird benutzt von xmlrpcresp().

xmlrpcresp::$valtyp

Definiert in Zeile 1914 der Datei xmlrpc.inc.

Wird benutzt von xmlrpcresp().


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen