IXR_Base64{}WP 1.5.0

IXR_Base64

No Hooks.

Usage

$IXR_Base64 = new IXR_Base64();
// use class methods

Methods

  1. public IXR_Base64( $data )
  2. public __construct( $data )
  3. public getXml()

Notes

  • Package: IXR

Changelog

Since 1.5.0 Introduced.

Code of IXR_Base64{} WP 6.0

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