aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/XMLRPCSuccessResponse.php
blob: cffa644393066028b4805972a5cee71b4e78fe4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * @class XMLRPCSuccessResponse
 * @author Curverider Ltd
 */
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>";
	}
}