CI_Xmlrpcs::listMethods PHP Method

listMethods() public method

Server Function: List Methods
public listMethods ( $m ) : object
return object
    public function listMethods($m)
    {
        $v = new XML_RPC_Values();
        $output = array();
        foreach ($this->methods as $key => $value) {
            $output[] = new XML_RPC_Values($key, 'string');
        }
        foreach ($this->system_methods as $key => $value) {
            $output[] = new XML_RPC_Values($key, 'string');
        }
        $v->addArray($output);
        return new XML_RPC_Response($v);
    }