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