After I call $this->paginate in my controller, $this->params in a page
template point to Paginator helper params instead of controller
params.
// page template
debug($this->params);
before $this->paginate:
Array
(
[controller] => logs
[action] => search
...
)
After:
Array
(
[page] => 1
[current] => 50
[count] => 1171
[prevPage] =>
[nextPage] => 1
[pageCount] => 24
...
)
Any ideas how to get controller's params?
cakephp 1.2.0.4798 alpha
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---