$this->method =
$method;
$this->args =
$args;
$this->xml = <<<EOD
<?xml version="1.0"?>
<methodCall>
<methodName>{
$this->method
}</methodName>
<params>
EOD;
foreach ($this->args
as $arg) { $this->xml .= '<param><value>';
$v =
new IXR_Value($arg);
$this->xml .=
$v->
getXml();
$this->xml .= "</value></param>\n";
} $this->xml .= '</params></methodCall>';
} /**
* PHP4 constructor.
*/
public function IXR_Request( $method,
$args ) { self::
__construct( $method,
$args );
}