I am creating a Yii application and I like to enable advanced search in the index file of a table like this Followed a tutorial:
$ data provider, 'item view' = & gt; '_view', 'id' = & gt; 'takelistview', 'SortableAttributes' = & Array ('id', 'data')));? & Gt;
I would like to know whether there is a way to process the output of advanced search. I can use all the records in this table with $ dataprovider, but I just want to get access to the people I've just figured out. Specifically, I want to get the attribute "data" for each record to enable downloads for all records. I took a look at $ .fn.yiiListView and CListView but I do not understand what to do. Can you help me Thanks!
$ dataprator
variable related to CDataProvider
In the square, you can access the data using the getdata function given below.
$ data = $ dataProvider-> Miladata ($ refresh);
If you want to reload the data from the data source, then set $ refresh
flag
complete data for more data providers View Provider Methods
No comments:
Post a Comment