function xmlrpc_base64 in Drupal 7
Same name and namespace in other branches
- 4 includes/xmlrpc.inc \xmlrpc_base64()
- 5 includes/xmlrpc.inc \xmlrpc_base64()
- 6 includes/xmlrpc.inc \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()
- XMLRPCValidator1IncTestCase::testValidator1 in modules/
simpletest/ tests/ xmlrpc.test - Run validator1 tests.
File
- includes/
xmlrpc.inc, line 540 - 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;
}