Hi everybody,
I got hoe to work the Bindable Behavior work with pagination in Cake
1.2?
so simple copy to code in your function and changes
$this->[model name]->restrict('user(email,password)' );
$this->paginate = array(null,'limit'=>'1','order'=>'[model
name].id
DESC');
$this->set('abc', $this->paginate());
notes : -> ('user') mens bind model name restrict the model fields
Thanks,
Nilesh c
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---