function _xmlrpc_example_alter_add

Sum the two arguments without limit checking.

This is the replacement callback for the xmlrpc_example.add xmlrpc method.

Parameters

int|float $num1: First number

int|float $num2: Second Number

Return value

int|float The sum of the arguments

Related topics

1 string reference to '_xmlrpc_example_alter_add'
xmlrpc_example_xmlrpc_alter in xmlrpc_example/xmlrpc_example.module
Implements hook_xmlrpc_alter().

File

xmlrpc_example/xmlrpc_example.module, line 660

Code

function _xmlrpc_example_alter_add($num1, $num2) {
    return $num1 + $num2;
}