Engine23

ActiveDataProvider show all results

The magic is 'pagination'=>false

That will not paginate the results and show all of them.  Be aware that this may return a lot of them so make sure its what you want.

 

return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
'pagination'=>false,
));

Share: