Sorry, finally i can solved this. This is my solution :
function paginateSearch($id = array()){
$list = implode(",",$id);
$order = 'FIELD(PhotoAlbum.photo_album_id, '.$list.')';
.
.
'order' => $order
}
hope this help someone.
On Sat, 2009-04-18 at 00:33 +0700, yodi wrote:
> H
Hello all,
I have some ranking system and got some id by rank (not in field but
processed by script in controller) like this : array('4','2','3');
So, i want paginate this.
$result = array('4','2','3');
$this->paginate = $this->Photo->paginateSearch();
$this->set('photos',this->paginate('Phot