Habari\XMLRPCServer::system_listMethods PHP Method

system_listMethods() public method

A plugin sink to return a list of XML-RPC methods on a call to system.listMethods Allows plugins to add their own methods to the list.
public system_listMethods ( mixed $returnvalue, mixed $params ) : array
$returnvalue mixed The value that will be returned to the remote caller.
$params mixed The parameters that were called with the remote call.
return array An array of supported XML-RPC methods.
    public function system_listMethods($returnvalue, $params)
    {
        $res = array('system.listMethods');
        $res = Plugins::filter('xmlrpc_methods', $res);
        return $res;
    }