function VarIndexList($pagename) { global $VarIndex; if (!isset($VarIndex)) VarIndexLoad($pagename); ksort($VarIndex); $out = "<table><tr><th>Variable</th><th>Documented in</th></tr>\n"; foreach($VarIndex as $v=>$a) $out .= FmtPageName("<tr><td><a class='varlink' href='{$a['url']}'><code>$$v</code></a></td><td><a href='{\$PageUrl}'>{\$Name}</a></td></tr>\n",$a['pagename']); $out .= "</table>"; return $out; }
function VarIndexList() { global $VarIndex; if (!isset($VarIndex)) { VarIndexLoad(); } ksort($VarIndex); $out = "<table><tr><th>Variable</th><th>Documented in</th></tr>\n"; foreach ($VarIndex as $v => $a) { $out .= FmtPageName("<tr><td><a class='varlink' \n href='{$a['url']}'><code>${$v}</code></a></td><td><a \n href='\$PageUrl'>\$Name</a></td></tr>\n", $a['pagename']); } $out .= "</table>"; return $out; }