function xmlrpc_base64

Returns an XML-RPC base 64 object.

Parameters

$data: Base 64 data to store in returned object.

Return value

object An XML-RPC base 64 object.

1 call to xmlrpc_base64()
XmlRpcValidatorTest::testValidator in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcValidatorTest.php
Run validator1 tests.

File

drupal/core/modules/xmlrpc/xmlrpc.inc, line 506
Drupal XML-RPC library.

Code

function xmlrpc_base64($data) {
  $xmlrpc_base64 = new stdClass();
  $xmlrpc_base64->is_base64 = TRUE;
  $xmlrpc_base64->data = $data;
  return $xmlrpc_base64;
}