blob: 8ac1eae4b825565f114dc7b12a4bb042bb2dd960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* @class XMLRPCSuccessResponse
*/
class XMLRPCSuccessResponse extends XMLRPCResponse
{
/**
* Output to XML.
*/
public function __toString()
{
$params = "";
foreach ($this->parameters as $param)
$params .= "<param>$param</param>\n";
return "<methodResponse><params>$params</params></methodResponse>";
}
}
|