[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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 : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref