File "class-IXR-base64.php"

Full Path: /home/jlklyejr/public_html/wp-includes-20241030123433/IXR/class-IXR-base64.php
File size: 414 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * IXR_Base64
 *
 * @package IXR
 * @since 1.5.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>';
    }
}