CI_Xmlrpcs::methodHelp PHP Method

methodHelp() public method

Server Function: Doc String for Method
public methodHelp ( $m ) : object
return object
    public function methodHelp($m)
    {
        $parameters = $m->output_parameters();
        $method_name = $parameters[0];
        if (isset($this->methods[$method_name])) {
            $docstring = isset($this->methods[$method_name]['docstring']) ? $this->methods[$method_name]['docstring'] : '';
            return new XML_RPC_Response(new XML_RPC_Values($docstring, 'string'));
        } else {
            return new XML_RPC_Response(0, $this->xmlrpcerr['introspect_unknown'], $this->xmlrpcstr['introspect_unknown']);
        }
    }