my-CakePHP
A blog tutorial on CakePHP - PHP Rapid Development Framework.
Wednesday, January 27, 2010
How to Pass all URL Arguments to Paginator Functions
Use the following statement in view file for respective controllers/action:
$paginator->options(array('url' => $this->passedArgs));
This will retrieve all passed url arguments.
To specify which params to pass, use:
$paginator->options(array('url' => array("0", "1")));
Simple.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment