Skip to content

Commit

Permalink
Update docs for numbers()
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 2, 2013
1 parent 01e1ed0 commit 88288e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cake/View/Helper/PaginatorHelper.php
Expand Up @@ -588,8 +588,8 @@ public function counter($options = []) {
*
* ### Options
*
* - `before` Content to be inserted before the numbers
* - `after` Content to be inserted after the numbers
* - `before` Content to be inserted before the numbers, but after the first links.
* - `after` Content to be inserted after the numbers, but before the last links.
* - `model` Model to create numbers for, defaults to PaginatorHelper::defaultModel()
* - `modulus` how many numbers to include on either side of the current page, defaults to 8.
* - `first` Whether you want first links generated, set to an integer to define the number of 'first'
Expand All @@ -598,8 +598,8 @@ public function counter($options = []) {
* links to generate.
*
* The generated number links will include the 'ellipsis' template when the `first` and `last` options
* are used and a range of page links will not be generated because they fall outside the range defined
* by modulus.
* and the number of pages exceed the modulus. For example if you have 25 pages, and use the first/last
* options and a modulus of 8, ellipsis content will be inserted after the first and last link sets.
*
* @param array $options Options for the numbers, (before, after, model, modulus)
* @return string numbers string.
Expand Down

0 comments on commit 88288e1

Please sign in to comment.