From 26c863dabc311399a36e48bd4ca483213c76fe19 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 25 Jun 2014 15:04:59 -0700 Subject: Issue #1956782 by joshi.rohit100, bdimaggio, tanmayk, chertzog: Document parameter to xmlrpc_server() --- includes/xmlrpcs.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc index 118f652d2..8655c05b0 100644 --- a/includes/xmlrpcs.inc +++ b/includes/xmlrpcs.inc @@ -9,7 +9,9 @@ * Invokes XML-RPC methods on this server. * * @param array $callbacks - * Array of external XML-RPC method names with the callbacks they map to. + * Either an associative array of external XML-RPC method names as keys with + * the callbacks they map to as values, or a more complex structure + * describing XML-RPC callbacks as returned from hook_xmlrpc(). */ function xmlrpc_server($callbacks) { $xmlrpc_server = new stdClass(); -- cgit v1.2.3