mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-06 16:16:53 +01:00
24 lines
616 B
PHP
24 lines
616 B
PHP
<?php if(!$class->nativePropertyCount) return; ?>
|
|
<h2>Event Details</h2>
|
|
<?php foreach($class->events as $event): ?>
|
|
<?php if($event->isInherited) continue; ?>
|
|
<div class="detailHeader" id="<?php echo $event->name.'-detail'; ?>">
|
|
<?php echo $event->name; ?>
|
|
<span class="detailHeaderTag">
|
|
event
|
|
<?php if(!empty($event->since)): ?>
|
|
(available since v<?php echo $event->since; ?>)
|
|
<?php endif; ?>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="signature">
|
|
<?php echo $event->trigger->signature; ?>
|
|
</div>
|
|
|
|
<p><?php echo $event->description; ?></p>
|
|
|
|
<?php $this->renderPartial('seeAlso',array('object'=>$event)); ?>
|
|
|
|
<?php endforeach; ?>
|