$request->params()

Returns all params from the URL in a handy object

  • return ($params)
// http://example.com/some/path/foo:bar/page:2
echo kirby()->request()->params()->foo();
echo kirby()->request()->params()->page();

Is something missing or incorrect? Edit this page on Github…