Yii2 Bootstrap 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
704 B

<?php
use yii\apidoc\models\ClassDoc;
/**
* @var ClassDoc $type
* @var yii\web\View $this
*/
$events = $type->getNativeEvents();
if (empty($events)) {
return;
} ?>
<h2>Event Details</h2>
<?php foreach($events as $event): ?>
<div class="detailHeader" id="<?= $event->name.'-detail' ?>">
<?php echo $event->name; ?>
<span class="detailHeaderTag">
event
<?php if(!empty($event->since)): ?>
(available since version <?= $event->since ?>)
<?php endif; ?>
</span>
</div>
<?php /*
<div class="signature">
<?php echo $event->trigger->signature; ?>
</div>*/ ?>
<p><?php echo $event->description; ?></p>
<?= $this->render('seeAlso', ['object' => $event]); ?>
<?php endforeach; ?>