autoDocument.
{
print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
print "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n";
print " <head>\n";
print " <meta http-equiv=\"Content-Type\" content=\"text/HTML; charset=" . $this->encoding . "\" />\n";
print " <title>Available XMLRPC methods for this server</title>\n";
print " <style type=\"text/css\">\n";
print " li,p { font-size: 10pt; font-family: Arial,Helvetia,sans-serif; }\n";
print " a:link { background-color: white; color: blue; text-decoration: underline; font-weight: bold; }\n";
print " a:visited { background-color: white; color: blue; text-decoration: underline; font-weight: bold; }\n";
print " table { border-collapse:collapse; width: 100% }\n";
print " table,td { padding: 5px; border: 1px solid black; }\n";
print " div.bloc { border: 1px dashed gray; padding: 10px; margin-bottom: 20px; }\n";
print " div.description { border: 1px solid black; padding: 10px; }\n";
print " span.type { background-color: white; color: gray; font-weight: normal; }\n";
print " span.paratype { background-color: white; color: gray; font-weight: normal; }\n";
print " span.name { background-color: white; color: #660000; }\n";
print " span.paraname { background-color: white; color: #336600; }\n";
print " img { border: 0px; }\n";
print " li { font-size: 12pt; }\n";
print " </style>\n";
print " </head>\n";
print " <body>\n";
print " <h1>Available XMLRPC methods for this server</h1>\n";
print " <h2><a name=\"index\">Index</a></h2>\n";
print " <ul>\n";
foreach ($this->callHandler->getMethods() as $method) {
$name = $method->getName();
$signature = $method->getHTMLSignature();
print " <li><a href=\"#$id\">$name()</a></li>\n";
}
print " </ul>\n";
print " <h2>Details</h2>\n";
foreach ($this->callHandler->getMethods() as $method) {
print " <div class=\"bloc\">\n";
$method->autoDocument();
print " <p>(return to <a href=\"#index\">index</a>)</p>\n";
print " </div>\n";
}
if (!($this->autoDocumentExternalLinks)) {
print ' <p><a href="http://pear.php.net/packages/XML_RPC2"><img src="http://pear.php.net/gifs/pear-power.png" alt="Powered by PEAR/XML_RPC2" height="31" width="88" /></a> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a> <a href="http://jigsaw.w3.org/css-validator/"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /></a></p>' . "\n";
}
print " </body>\n";
print "</html>\n";
}