index.php 822 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
<?php

use yii\apidoc\models\ClassDoc;
use yii\apidoc\models\InterfaceDoc;
use yii\apidoc\models\TraitDoc;
/**
 * @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $types
 * @var yii\web\View $this
 */

11
if (isset($readme)) {
12
	echo \yii\apidoc\helpers\ApiMarkdown::process($readme);
13 14
}

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
?><h1>Class Reference</h1>

<table class="summaryTable docIndex table table-bordered table-striped table-hover">
	<colgroup>
		<col class="col-package" />
		<col class="col-class" />
		<col class="col-description" />
	</colgroup>
	<tr>
		<th>Class</th>
		<th>Description</th>
	</tr>
<?php
ksort($types);
foreach($types as $i=>$class):
?>
	<tr>
		<td><?= $this->context->typeLink($class, $class->name) ?></td>
33
		<td><?= \yii\apidoc\helpers\ApiMarkdown::process($class->shortDescription, $class, true) ?></td>
34 35 36
	</tr>
<?php endforeach; ?>
</table>