| @@ 858-863 (lines=6) @@ | ||
| 855 | public static function _xmlrpcs_methodSignature($server, $req) |
|
| 856 | { |
|
| 857 | // let accept as parameter both an xmlrpc value or string |
|
| 858 | if (is_object($req)) { |
|
| 859 | $methName = $req->getParam(0); |
|
| 860 | $methName = $methName->scalarval(); |
|
| 861 | } else { |
|
| 862 | $methName = $req; |
|
| 863 | } |
|
| 864 | if (strpos($methName, "system.") === 0) { |
|
| 865 | $dmap = $server->getSystemDispatchMap(); |
|
| 866 | } else { |
|
| @@ 900-905 (lines=6) @@ | ||
| 897 | public static function _xmlrpcs_methodHelp($server, $req) |
|
| 898 | { |
|
| 899 | // let accept as parameter both an xmlrpc value or string |
|
| 900 | if (is_object($req)) { |
|
| 901 | $methName = $req->getParam(0); |
|
| 902 | $methName = $methName->scalarval(); |
|
| 903 | } else { |
|
| 904 | $methName = $req; |
|
| 905 | } |
|
| 906 | if (strpos($methName, "system.") === 0) { |
|
| 907 | $dmap = $server->getSystemDispatchMap(); |
|
| 908 | } else { |
|