fix weak property types
[mdref/mdref] / views / mdref.phtml
1
2 <?= $file($entry->getPath()) ?>
3
4 <?php if ($entry->isRoot() && $entry->getRepo()->hasStub($stub)) : ?>
5 <h2 id="Editor.Stub:">Editor Stub:</h2>
6 <p>This extension provides a stub file four your editor's auto-completion.</p>
7 <?php include __DIR__ . "/stub.phtml"; ?>
8 <?php endif; ?>
9
10 <?php if ($entry->hasFunctions()) : ?>
11
12 <h2 id="Functions:">Functions:</h2>
13 <ul>
14 <?php foreach($entry as $sub) : if (!$sub->isFunction()) continue; ?>
15
16 <li>
17 <h3><a href="<?= $esc($sub->getName()) ?>"><?= $esc($sub) ?></a></h3>
18 <?= $quick($sub->getDescription()) ?>
19
20 <p><?= $esc($sub->getTitle()) ?></p>
21 </li>
22 <?php endforeach; ?>
23
24 </ul>
25 <?php endif; ?>
26
27 <?php if ($entry->hasNsClasses()) : ?>
28
29 <h2 id="Namespaces,.Interfaces.and.Classes:">Namespaces, Interfaces and Classes:</h2>
30 <ul>
31 <?php foreach ($entry as $sub) : if (!$sub->isNsClass()) continue; ?>
32
33 <li>
34 <h3><a href="<?= $esc($sub->getName()) ?>"><?= $esc($sub) ?></a></h3>
35 <?= $quick($sub->getDescription()) ?>
36
37 <p><?= $esc($sub->getTitle()) ?></p>
38 </li>
39 <?php endforeach; ?>
40
41 </ul>
42 <?php endif; ?>