Difference between #16 and #17 of
CGridView, CListView and CActiveDataProvider

Revision #17 has been created by softark on Jul 15, 2013, 10:51:44 PM with the memo:

Fixed a syntax error in a sample code
« previous (#16)

Changes

Title unchanged

CGridView, CListView and CActiveDataProvider

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

CGridView, CListView, CActiveDataProvider, filter, search, sort, pagination, ajax

Content changed

[...]
$criteria->compare('address', $this->address, true);
...
return new CActiveDataProvider(get_class($this), array(
'criteria' => $criteria,
'sort' => array(
'defaultOrder' => 'name
, address',
'attributes' => array(
'name' => array(
'asc' => 'name address',
'desc' => 'name desc, address',
),
[...]
26 0
33 followers
Viewed: 144 881 times
Version: 1.1
Category: Tutorials
Written by: softark
Last updated by: softark
Created on: Sep 1, 2012
Last updated: 11 years ago
Update Article

Revisions

View all history