<?php
/**
* IXR_Request
*
* @package IXR
* @since 1.5.0
*/
class IXR_Request
{
var $method;
var $args;
var $xml;
/**
* PHP5 constructor.
*/
function __construct($method, $args)
{
$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 );
}
function getLength()
{
return strlen($this->xml);
}
function getXml()
{
return $this->xml;
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| class-IXR-base64.php | 2017-01-10 14:04 | 414 B | 76129f60960:kunden | -xw-x----- | |
| class-IXR-client.php | 2026-10-22 10:47 | 4.64 KB | 76129f60960:kunden | -xw-x--x-- | |
| class-IXR-clientmulticall.php | 2021-01-14 01:34 | 1.23 KB | 76129f60960:kunden | -xw-x----- | |
| class-IXR-date.php | 2019-12-30 22:06 | 1.65 KB | 76129f60960:kunden | -xw-x----- | |
| class-IXR-error.php | 2017-01-10 14:04 | 854 B | 76129f60960:kunden | -xw-x----- | |
| class-IXR-introspectionserver.php | 2026-10-22 10:47 | 5.24 KB | 76129f60960:kunden | -xw-x--x-- | |
| class-IXR-message.php | 2026-10-22 10:47 | 8.21 KB | 76129f60960:kunden | -xw-x--x-- | |
| class-IXR-request.php | 2017-01-10 14:04 | 927 B | 76129f60960:kunden | -xw-x----- | |
| class-IXR-server.php | 2026-10-22 10:47 | 6.61 KB | 76129f60960:kunden | -xw-x--x-- | |
| class-IXR-value.php | 2026-10-22 10:47 | 3.7 KB | 76129f60960:kunden | -xw-x--x-- | |