?? class.tpl.php
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="default.css" type="text/css" />
<title><?=h($project->getName())?> - Class: <?=h($class->getName())?></title>
</head>
<?$pclass = $class->getParentClass();?>
<body>
<h1 id="top"><?=h($class->getName())?></h1>
<p><?=h($class->getDescription())?></p>
<?if ($authors = array_map('h', $class->getAuthors())):?>
<p class="authors"><strong>Author(s): </strong> <?=implode(', ', $authors)?><br /><br /></p>
<?endif; unset($authors);?>
<ul>
<?if ($class->isAbstract()):?>
<li>Abstract class</li>
<?endif;?>
<li>Source file: <a href="<?=$class->getParent()->getId()?>.htm"><?=h($class->getParent()->getName())?></a></li>
<?if (!is_null($pclass)):?>
<li>Inherits the class <?=jspd_default_link_type($project, $pclass->getName())?></li>
<?endif;?>
</ul>
<p class="menuMid"><a href="index.htm">Index</a> | <a href="#methods">Methods</a> | <a href="#properties">Properties</a></p>
<hr />
<h3>Properties index</h3>
<ul>
<?foreach ($class->getProperties() as $prop):?>
<li><?=$prop->isStatic() ? 'static ' : null?><?=jspd_default_link_type($project, $prop->getType())?> <a href="#<?=$prop->getId()?>"><?=h($prop->getName())?></a></li>
<?endforeach; unset($prop);?>
</ul>
<hr />
<h3>Methods index</h3>
<ul>
<?foreach ($class->getMethods() as $method):?>
<li><?=$method->isAbstract() ? 'abstract ' : null?><?=$method->isStatic() ? 'static ' : null?><?=jspd_default_link_type($project, $method->getReturnType())?> <a href="#<?=$method->getId()?>"><?=h($method->getName())?></a>(<?=jspd_default_func_params($project, $method)?>)</li>
<?endforeach; unset($method);?>
</ul>
<p class="menuMid"><a href="index.htm">Index</a> | <a href="#top">Top</a> | <a href="javascript:history.back()">Back</a></p>
<hr />
<h3 id="properties">Properties</h3>
<?foreach ($class->getProperties() as $prop):?>
<dl id="<?=$prop->getId()?>">
<dt><?=$prop->isStatic() ? 'static ' : null?><?=jspd_default_link_type($project, $prop->getType())?> <?=h($prop->getName())?></dt>
<dd><p><?=h($prop->getDescription())?></p></dd>
</dl>
<?endforeach; unset($prop);?>
<p class="menuMid"><a href="index.htm">Index</a> | <a href="#top">Top</a> | <a href="javascript:history.back()">Back</a></p>
<hr />
<h3 id="methods">Methods</h3>
<?foreach ($class->getMethods() as $method):?>
<dl id="<?=$method->getId()?>">
<dt><?=$method->isAbstract() ? 'abstract ' : null?><?=$method->isStatic() ? 'static ' : null?><?=jspd_default_link_type($project, $method->getReturnType())?> <?=h($method->getName())?>(<?=jspd_default_func_params($project, $method)?>)</dt>
<dd>
<p><?=h($method->getDescription())?></p>
<ul>
<?foreach ($method->getParams() as $param):?>
<li><?=jspd_default_link_type($project, $param->getType())?> <?=h($param->getName())?>: <?=h($param->getDescription())?></li>
<?endforeach; unset($param);?>
</ul>
<?if (!is_null($pclass) && $pclass->isMethod($method->getName())):?>
<cite>Redefinition of method <a href="<?=$pclass->getId()?>.htm#<?=$pclass->getMethod($method->getName())->getId()?>"><?=$pclass->getName() . '.' . $method->getName()?>()</a></cite>
<?endif;?>
</dd>
</dl>
<?endforeach; unset($method);?>
<p class="menuMid"><a href="index.htm">Index</a> | <a href="#top">Top</a> | <a href="javascript:history.back()">Back</a></p>
<p class="down"><?=jspd_default_gen()?></p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -