Nevermind -- got it worked out. If anyone else needs it: Pass yourself
a letter parameter to the view thats displaying the records. If it is
set use it in a "LIKE $letter%" clause in your pagination conditions
to get the desired results of records for the view Pass the letter
back to the view. On the view use a call to pagination_>link(('A',
array('action' => "youraction", 'letter' => 'A', 'page' => '1')) to
get a link to the first page of users whose name start with a given
letter ('A" in this example). On calls to pagination->next(), prev(),
or numbers() make sure to include array('url' => array('letter'=>
$letter)) as your options to get the current letter back to the action
on requests for succesive pages of users with this letter.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to