WordPress at a glance
class is not described

IXR_Base64{} WP 1.5.0

No Hooks.

Return

Null. Nothing.

Usage

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

Methods

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

Notes

  • Package: IXR

Changelog

Since 1.5.0 Introduced.

Code of IXR_Base64{} WP 5.5.1

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