Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
modules
fg
views
default
index.php
1
<h3>Published forms</h3>
2
<?php
3
$this->widget(
'zii.widgets.grid.CGridView'
, array(
4
'id'
=>
'person-grid'
,
5
'dataProvider'
=>$model->search(),
6
'filter'
=>$model,
7
'htmlOptions'
=>array(
'style'
=>
'width:740px'
),
8
'pager'
=>array(
9
'header'
=>
''
,
10
'firstPageLabel'
=>
'<<'
,
11
'prevPageLabel'
=>
'<'
,
12
'nextPageLabel'
=>
'>'
,
13
'lastPageLabel'
=>
'>>'
,
14
),
15
'columns'
=>array(
16
array(
17
'name'
=>
'name'
,
18
'value'
=>
'CHtml::link($data->name, array("viewForm", "id"=>$data->id))'
,
19
'type'
=>
'raw'
20
),
21
array(
22
'name'
=>
'json'
,
23
'value'
=>
'CHtml::link("View json", array("viewJSON", "id"=>$data->id))'
,
24
'type'
=>
'raw'
25
),
26
'id'
27
)
28
));
29
?>
Generated on Thu Feb 6 2014 15:47:54 for Gentics Portal.Node PHP API by
1.8.1.2