[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/IXR/ -> class-IXR-base64.php (source)

   1  <?php
   2  
   3  /**
   4   * IXR_Base64
   5   *
   6   * @package IXR
   7   * @since 1.5.0
   8   */
   9  class IXR_Base64
  10  {
  11      var $data;
  12  
  13      /**
  14       * PHP5 constructor.
  15       */
  16      function __construct( $data )
  17      {
  18          $this->data = $data;
  19      }
  20  
  21      /**
  22       * PHP4 constructor.
  23       */
  24  	public function IXR_Base64( $data ) {
  25          self::__construct( $data );
  26      }
  27  
  28      function getXml()
  29      {
  30          return '<base64>'.base64_encode($this->data).'</base64>';
  31      }
  32  }


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1