mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 13:58:24 +08:00
fixed apidoc context for markdown rendering
This commit is contained in:
@@ -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; ?>
|
||||
|
||||
Reference in New Issue
Block a user