fixed apidoc context for markdown rendering

This commit is contained in:
Carsten Brandt
2014-01-28 16:50:35 +01:00
parent 3f1a0307cc
commit 7924e6d1fb
6 changed files with 9 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ foreach($methods as $method): ?>
<?php if($protected && $method->visibility == 'protected' || !$protected && $method->visibility != 'protected'): ?>
<tr<?= $method->definedBy != $type->name ? ' class="inherited"' : '' ?> id="<?= $method->name ?>()">
<td><?= $this->context->subjectLink($method, $method->name.'()') ?></td>
<td><?= Markdown::process($method->shortDescription, $type) ?></td>
<td><?= Markdown::process($method->shortDescription, $method->definedBy) ?></td>
<td><?= $this->context->typeLink($method->definedBy, $type) ?></td>
</tr>
<?php endif; ?>