Browse Source

fixed broken link for contants in api doc

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
831f7c4253
  1. 2
      extensions/yii/apidoc/templates/html/views/constSummary.php

2
extensions/yii/apidoc/templates/html/views/constSummary.php vendored

@ -26,7 +26,7 @@ if (empty($type->constants)) {
</tr> </tr>
<?php foreach($type->constants as $constant): ?> <?php foreach($type->constants as $constant): ?>
<tr<?= $constant->definedBy != $type->name ? ' class="inherited"' : '' ?> id="<?= $constant->name ?>"> <tr<?= $constant->definedBy != $type->name ? ' class="inherited"' : '' ?> id="<?= $constant->name ?>">
<td><?= $constant->name ?></td> <td><?= $constant->name ?><a name="<?= $constant->name ?>-detail"></a></td>
<td><?= $constant->value ?></td> <td><?= $constant->value ?></td>
<td><?= Markdown::process($constant->shortDescription . "\n" . $constant->description, $type) ?></td> <td><?= Markdown::process($constant->shortDescription . "\n" . $constant->description, $type) ?></td>
<td><?= $this->context->typeLink($constant->definedBy) ?></td> <td><?= $this->context->typeLink($constant->definedBy) ?></td>

Loading…
Cancel
Save