Files
yii/build/commands/api/views/eventDetails.php
2010-09-17 18:32:02 +00:00

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; ?>