You are here

function _xmlrpc_example_alter_subtract in xmlrpc 8

Return the difference of the two arguments without limit checking.

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

Parameters

int $num1: First number.

int $num2: Second number.

Return value

int The difference of the two arguments

Related topics

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

File

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

Code

function _xmlrpc_example_alter_subtract($num1, $num2) {
  return $num1 - $num2;
}