Status\n"; $numi=count($commands); $numni=count($nicommands); $total=$numi+$numni; $percent=round($numi/$total*100); echo "$numi of $total implemented ($percent%)
\n"; echo "

Basics

\n"; echo "All API commands return \"status\", which is either \"ok\" or \"error\"
\n"; echo "If status is \"error\", then the return also contains \"error\" which contains the error message
\n"; echo "

Implemented API

\n"; ksort($commands); $cols=3; $percol=ceil($numi/$cols); echo ""; echo "
"; $x=0; foreach($commands AS $c=>$com) { if($x%$percol==0) echo ""; echo "$c
"; $x++; } echo "
\n"; foreach($commands AS $c=>$com) { echo ""; echo "

".htmlspecialchars($c)."

"; echo "
\n"; echo $com['description']; echo "
"; if(count($com['post'])) { echo "

Post

\n"; echo ""; } if(count($com['return'])) { echo "

Return

\n"; echo ""; } if(count($com['object'])) { echo "

Objects Referenced

\n"; echo ""; } echo "
"; echo "
"; } echo "

Not Implemented API

\n"; ksort($nicommands); foreach($nicommands AS $c=>$com) { echo "

".htmlspecialchars($c)."

"; echo "
\n"; echo $com['description']; echo "
"; if(count($com['post'])) { echo "

Post

\n"; echo ""; } if(count($com['return'])) { echo "

Return

\n"; echo ""; } echo "
"; echo "
"; } ?>