18 function __construct($method, $args)
20 $this->method = $method;
25 <methodName>{$this->method}</methodName>
29 foreach ($this->args as $arg) {
30 $this->xml .= '<param><value>';
31 $v = new IXR_Value($arg);
32 $this->xml .= $v->getXml();
33 $this->xml .= "</value></param>\n";
35 $this->xml .= '</params></methodCall>';
41 public function IXR_Request( $method, $args ) {
42 self::__construct( $method, $args );
47 return strlen($this->xml);