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);
}