home/wwgoat/public_html/blog/wp-includes/IXR/class-IXR-request.php 0000644 00000001637 14720656267 0021117 0 ustar 00 method = $method;
$this->args = $args;
$this->xml = <<
{$this->method}
EOD;
foreach ($this->args as $arg) {
$this->xml .= '';
$v = new IXR_Value($arg);
$this->xml .= $v->getXml();
$this->xml .= "\n";
}
$this->xml .= '';
}
/**
* PHP4 constructor.
*/
public function IXR_Request( $method, $args ) {
self::__construct( $method, $args );
}
function getLength()
{
return strlen($this->xml);
}
function getXml()
{
return $this->xml;
}
}