Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dataProvider=new CActiveDataProvider('MerchantBatchCode', array(
- 'criteria'=>array(
- 'condition'=>'merchant_code_exp=1',
- 'order'=>'id ASC'
- ),
- 'pagination'=>array(
- 'pageSize'=>3,
- ),
- ));
- $model = $dataProvider->getData();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement