/
_view.php
33 lines (24 loc) · 942 Bytes
/
_view.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/* @var $this TutorialsController */
/* @var $data Tutorial */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('tid')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->tid), array('view', 'id'=>$data->tid)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('active')); ?>:</b>
<?php echo CHtml::encode($data->active); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('permission')); ?>:</b>
<?php echo CHtml::encode($data->permission); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('permission_grade')); ?>:</b>
<?php echo CHtml::encode($data->permission_grade); ?>
<br />
</div>