| @@ 867-872 (lines=6) @@ | ||
| 864 | public static function _xmlrpcs_methodSignature($server, $req) |
|
| 865 | { |
|
| 866 | // let accept as parameter both an xmlrpc value or string |
|
| 867 | if (is_object($req)) { |
|
| 868 | $methName = $req->getParam(0); |
|
| 869 | $methName = $methName->scalarval(); |
|
| 870 | } else { |
|
| 871 | $methName = $req; |
|
| 872 | } |
|
| 873 | if (strpos($methName, "system.") === 0) { |
|
| 874 | $dmap = $server->getSystemDispatchMap(); |
|
| 875 | } else { |
|
| @@ 909-914 (lines=6) @@ | ||
| 906 | public static function _xmlrpcs_methodHelp($server, $req) |
|
| 907 | { |
|
| 908 | // let accept as parameter both an xmlrpc value or string |
|
| 909 | if (is_object($req)) { |
|
| 910 | $methName = $req->getParam(0); |
|
| 911 | $methName = $methName->scalarval(); |
|
| 912 | } else { |
|
| 913 | $methName = $req; |
|
| 914 | } |
|
| 915 | if (strpos($methName, "system.") === 0) { |
|
| 916 | $dmap = $server->getSystemDispatchMap(); |
|
| 917 | } else { |
|