Пример #1
0
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>&#036;$v</code></a></td><td><a 
      href='{\$PageUrl}'>{\$Name}</a></td></tr>\n",$a['pagename']);
  $out .= "</table>";
  return $out;
}
Пример #2
0
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>&#036;{$v}</code></a></td><td><a \n      href='\$PageUrl'>\$Name</a></td></tr>\n", $a['pagename']);
    }
    $out .= "</table>";
    return $out;
}