Hello ( and sorry for my english ).
I have working findAll rule :
$this->User-
>bindModel(array('hasOne'=>array('Dummy'=>array('className'=>'Stat','foreignKey'=>'user_id'))),false);
$this->data = $this->User->findAll('Dummy.code = User.code AND Dummy.s
= 1 GROUP BY User`.`id`',array('id','username','code','SUM(cash) as
suma, COUNT(User.id) AS click'),$order, $limit, $page,0);
How can I paginate this data set ?
Help me, please ;)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---