mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-09 01:26:53 +01:00
29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<?php if($protected && !$class->protectedPropertyCount || !$protected && !$class->publicPropertyCount) return; ?>
|
|
|
|
<div class="summary docProperty">
|
|
<h2><?php echo $protected ? 'Protected Properties' : 'Public Properties'; ?></h2>
|
|
|
|
<p><a href="#" class="toggle">Hide inherited properties</a></p>
|
|
|
|
<table class="summaryTable">
|
|
<colgroup>
|
|
<col class="col-property" />
|
|
<col class="col-type" />
|
|
<col class="col-description" />
|
|
<col class="col-defined" />
|
|
</colgroup>
|
|
<tr>
|
|
<th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
|
|
</tr>
|
|
<?php foreach($class->properties as $property): ?>
|
|
<?php if($protected && $property->isProtected || !$protected && !$property->isProtected): ?>
|
|
<tr<?php echo $property->isInherited?' class="inherited"':''; ?> id="<?php echo $property->name; ?>">
|
|
<td><?php echo $this->renderSubjectUrl($property->definedBy,$property->name); ?></td>
|
|
<td><?php echo $this->renderTypeUrl($property->type); ?></td>
|
|
<td><?php echo $property->introduction; ?></td>
|
|
<td><?php echo $this->renderTypeUrl($property->definedBy); ?></td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
</div>
|