class IXR_Base64 {}

In this article

IXR_Base64

Methods

NameDescription
IXR_Base64::__constructPHP5 constructor.
IXR_Base64::getXml
IXR_Base64::IXR_Base64PHP4 constructor.

Source

class IXR_Base64
{
    var $data;

	/**
	 * PHP5 constructor.
	 */
    function __construct( $data )
    {
        $this->data = $data;
    }

	/**
	 * PHP4 constructor.
	 */
	public function IXR_Base64( $data ) {
		self::__construct( $data );
	}

    function getXml()
    {
        return '<base64>'.base64_encode($this->data).'</base64>';
    }
}

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.