API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
xmlrpcmsg::addParam | ( | $ | par | ) |
Add a parameter to the list of parameters to be used upon method invocation
xmlrpcval | $par |
Références params.
Référencé par xmlrpcmsg().
xmlrpcmsg::createPayload | ( | $ | charset_encoding = '' | ) |
private
Références $i, params, xml_footer(), et xml_header().
Référencé par serialize().
xmlrpcmsg::getNumParams | ( | ) |
Returns the number of parameters in the messge.
Références params.
xmlrpcmsg::getParam | ( | $ | i | ) |
xmlrpcmsg::kindOf | ( | ) |
private
xmlrpcmsg::method | ( | $ | meth = '' | ) |
Gets/sets the xmlrpc method to be invoked
string | $meth | the method to be set (leave empty not to set it) |
& xmlrpcmsg::parseResponse | ( | $ | data = '' , |
$ | headers_processed = false , |
||
$ | return_type = 'xmlrpcvals' |
||
) |
Parse the xmlrpc response contained in the string $data and return an xmlrpcresp object.
string | $data | the xmlrpc response, eventually including http headers |
bool | $headers_processed | when true prevents parsing HTTP headers for interpretation of content-encoding and consequent decoding |
string | $return_type | decides return type, i.e. content of response->value(). Either 'xmlrpcvals', 'xml' or 'phpvals' |
Références $data, $GLOBALS, $start, elseif, et parseResponseHeaders().
Référencé par parseResponseFile().
& xmlrpcmsg::parseResponseFile | ( | $ | fp | ) |
Given an open file handle, read all data available and parse it as axmlrpc response. NB: the file handle is not closed by this function. public
Références $data, et parseResponse().
& xmlrpcmsg::parseResponseHeaders | ( | &$ | data, |
$ | headers_processed = false |
||
) |
Parses HTTP headers and separates them from data. private
Références $data, $GLOBALS, et elseif.
Référencé par parseResponse().
xmlrpcmsg::serialize | ( | $ | charset_encoding = '' | ) |
Returns xml representation of the message. XML prologue included
Références createPayload().
xmlrpcmsg::xml_footer | ( | ) |
xmlrpcmsg::xml_header | ( | $ | charset_encoding = '' | ) |
xmlrpcmsg::xmlrpcmsg | ( | $ | meth, |
$ | pars = 0 |
||
) |
string | $meth | the name of the method to invoke |
array | $pars | array of parameters to be paased to the method (xmlrpcval objects) |
Références $i, et addParam().
xmlrpcmsg::$content_type = 'text/xml' |
xmlrpcmsg::$debug = 0 |
xmlrpcmsg::$methodname |
xmlrpcmsg::$params = array() |
xmlrpcmsg::$payload |