_xmlrpc_example_alter_subtract

7 xmlrpc_example.module _xmlrpc_example_alter_subtract($num1, $num2)
8 xmlrpc_example.module _xmlrpc_example_alter_subtract($num1, $num2)

Return the difference of the two arguments without limit checking.

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

Parameters

numeric $num1:

numeric $num2:

Return value

The difference of the two arguments

Related topics

1 string reference to '_xmlrpc_example_alter_subtract'

File

xmlrpc_example/xmlrpc_example.module, line 627
Module file for xmlrpc_example module.

Code

function _xmlrpc_example_alter_subtract($num1, $num2) {
  return $num1 - $num2;
}
Login or register to post comments