Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 497 Bytes
<snippet>
<content><![CDATA[\$dataProvider = new CActiveDataProvider('$1', array(
'criteria' => array(
'condition' => '$2',
'order' => '$3',
'with' => array('$4')
),
//'pagination' => false,
'pagination' => array(
'pageSize'=>$5,
),
));$0
// $dataProvider->getData() will return a list of Post objects]]></content>
<tabTrigger>cadp</tabTrigger>
<scope>source.php</scope>
<description>CActiveDataProvider</description>
</snippet>