1 | <?php |
||
18 | class TbDetailView extends CDetailView |
||
19 | { |
||
20 | // Table types. |
||
21 | const TYPE_STRIPED = 'striped'; |
||
22 | const TYPE_BORDERED = 'bordered'; |
||
23 | const TYPE_CONDENSED = 'condensed'; |
||
24 | |||
25 | /** |
||
26 | * @var string|array the table type. |
||
27 | * Valid values are 'striped', 'bordered' and/or 'condensed'. |
||
28 | */ |
||
29 | public $type = array(self::TYPE_STRIPED, self::TYPE_CONDENSED); |
||
30 | |||
31 | /** |
||
32 | * @var string the URL of the CSS file used by this detail view. |
||
33 | * Defaults to false, meaning that no CSS will be included. |
||
34 | */ |
||
35 | public $cssFile = false; |
||
36 | |||
37 | /** |
||
38 | *### .init() |
||
39 | * |
||
40 | * Initializes the widget. |
||
41 | */ |
||
42 | public function init() |
||
73 | } |
||
74 |