</div> <div class="portlet-body"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>属性名称</th> <th>属性值</th> </tr> </thead> <tbody> <?php $model = new Values(); $all = $model->findAll(); foreach ($all as $key => $value) { $this->renderPartial("_view", array("data" => $value->attributes)); } ?> </tbody> </table> </div> </div> </div> <!-- END SAMPLE TABLE PORTLET--> <link href="<?php echo Yii::app()->baseUrl; ?>