You are here

function xmlrpc_base64_get_xml in xmlrpc 8

Converts an XML-RPC base 64 object into XML.

Parameters

object $xmlrpc_base64: The XML-RPC base 64 object.

Return value

string An XML representation of the base 64 data as XML.

See also

xmlrpc_base64()

1 call to xmlrpc_base64_get_xml()
xmlrpc_value_get_xml in ./xmlrpc.inc
Generates XML representing the given value.

File

./xmlrpc.inc, line 558
Drupal XML-RPC library.

Code

function xmlrpc_base64_get_xml($xmlrpc_base64) {
  return '<base64>' . base64_encode($xmlrpc_base64->data) . '</base64>';
}