function xmlrpc_base64 in xmlrpc 8
Returns an XML-RPC base 64 object.
Parameters
string $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 src/
Tests/ XmlRpcValidatorTest.php - Run validator1 tests.
File
- ./
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;
}