Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improves next() and prev() documentation

Adds the explanation for the URL available option, which is really useful when dealing with non-default CakePHP routes, now lacking from the official documentation.
  • Loading branch information...
commit ef08534460ca62bb5291bc107f1393a4ae384f00 1 parent d7d8fc0
@GiampaoloFalqui GiampaoloFalqui authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/Cake/View/Helper/PaginatorHelper.php
View
2  lib/Cake/View/Helper/PaginatorHelper.php
@@ -264,6 +264,7 @@ public function sortDir($model = null, $options = array()) {
*
* ### Options:
*
+ * - `url` Allows sending routing parameters such as controllers, actions or passed arguments.
* - `tag` The tag wrapping tag you want to use, defaults to 'span'. Set this to false to disable this option
* - `escape` Whether you want the contents html entity encoded, defaults to true
* - `model` The model to use, defaults to PaginatorHelper::defaultModel()
@@ -289,6 +290,7 @@ public function prev($title = '<< Previous', $options = array(), $disabledTitle
*
* ### Options:
*
+ * - `url` Allows sending routing parameters such as controllers, actions or passed arguments.
* - `tag` The tag wrapping tag you want to use, defaults to 'span'. Set this to false to disable this option
* - `escape` Whether you want the contents html entity encoded, defaults to true
* - `model` The model to use, defaults to PaginatorHelper::defaultModel()
Please sign in to comment.
Something went wrong with that request. Please try again.