Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->paginate = array(
- 'conditions' => $conditions,
- 'limit' => 20,
- );
- $this->paginate = array(
- 'conditions' => $conditions,
- // 'limit' => 20
- );
- $this->paginate = array(
- 'conditions' => $conditions,
- 'limit' => 100,
- 'maxLimit' => 10000
- );
- $all = $this->ModelName->find('count', array('conditions'=> $conditions));
- $alldata = $this->ModelName->find('all', array('conditions'=> $conditions, 'limit' => $all));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement