static generator
[mdref/mdref] / views / mdref.phtml
1 <?= $file($entry->getPath()) ?>
2
3 <?php if ($entry->hasFunctions()) : ?>
4 <h2>Functions:</h2>
5 <ul>
6 <?php foreach($entry as $sub) : if (!$sub->isFunction()) continue; ?>
7 <li>
8 <h3><a href="<?= $view->esc($sub->getName()) ?>"><?= $view->esc($sub) ?></a></h3>
9 <p><?= $quick($sub->getDescription()) ?></p>
10 <p><?= $view->esc($sub->getTitle()) ?></p>
11 </li>
12 <?php endforeach; ?>
13 </ul>
14 <?php endif; ?>
15
16 <?php if ($entry->hasNsClasses()) : ?>
17 <h2>Namespaces, Interfaces and Classes:</h2>
18 <ul>
19 <?php foreach ($entry as $sub) : if (!$sub->isNsClass()) continue; ?>
20 <li>
21 <h3><a href="<?= $view->esc($sub->getName()) ?>"><?= $view->esc($sub) ?></a></h3>
22 <p><?= $quick($sub->getDescription()) ?></p>
23 <p><?= $view->esc($sub->getTitle()) ?></p>
24 </li>
25 <?php endforeach; ?>
26 </ul>
27 <?php endif; ?>