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