PHP 8.1.33
Preview: class-IXR-request.php Size: 927 B
/home/jambtst2015/public_html/qasandra.com/wp-includes/IXR/class-IXR-request.php

<?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;
    }
}

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
414 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
4.67 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
1.23 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
1.65 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
854 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
5.20 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
8.00 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
927 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
6.51 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
3.70 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
74 B lrw-r--r-- 2024-12-02 09:28:13
Edit Download
64.55 KB lrw-r--r-- 2024-12-02 09:28:13
Edit Download
4.04 KB lrw-r--r-- 2025-11-03 09:02:39
Edit Download
26 B lrw-r--r-- 2024-08-19 08:38:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).