-<?= $html ?>
-
-<?php if (isset($sublisting) && count($sublisting)) : ?>
- <h2>Functions:</h2>
- <ul>
- <?php foreach($sublisting as $entry) : ?>
- <li>
- <h3><a href="<?=$entry->formatUrl()?>"><?=$entry->formatLink(true)?></a></h3>
- <p><?=$entry->readDescription()?></p>
- <p><?=$entry->readTitle()?></p>
- </li>
+
+<?= $file($entry->getPath()) ?>
+
+<?php if ($entry->hasFunctions()) : ?>
+
+<h2 id="Functions:">Functions:</h2>
+<ul>
+ <?php foreach($entry as $sub) : if (!$sub->isFunction()) continue; ?>
+
+ <li>
+ <h3><a href="<?= $esc($sub->getName()) ?>"><?= $esc($sub) ?></a></h3>
+ <?= $quick($sub->getDescription()) ?>
+
+ <p><?= $esc($sub->getTitle()) ?></p>
+ </li>
<?php endforeach; ?>
- </ul>
+
+</ul>
+<?php endif; ?>
+
+<?php if ($entry->hasNsClasses()) : ?>
+
+<h2 id="Namespaces,.Interfaces.and.Classes:">Namespaces, Interfaces and Classes:</h2>
+<ul>
+ <?php foreach ($entry as $sub) : if (!$sub->isNsClass()) continue; ?>
+
+ <li>
+ <h3><a href="<?= $esc($sub->getName()) ?>"><?= $esc($sub) ?></a></h3>
+ <?= $quick($sub->getDescription()) ?>
+
+ <p><?= $esc($sub->getTitle()) ?></p>
+ </li>
+ <?php endforeach; ?>
+
+</ul>
<?php endif; ?>