Try using this as an example for your pagination
$this->paginate = array(
'conditions' => array( ... )
'limit' => 5,
);
$myResults = $this->paginate( 'MyModel' );
문제
I have a problem with this pagination i use this code
var $paginate = array(
'limit' => 5)
yes it work but after i code my search plugin, this pagination code is not working
please help me
올바른 솔루션이 없습니다
다른 팁
Try using this as an example for your pagination
$this->paginate = array(
'conditions' => array( ... )
'limit' => 5,
);
$myResults = $this->paginate( 'MyModel' );