Skip to content

Commit

Permalink
Merge pull request #417 from ataylor32/paginator-typos
Browse files Browse the repository at this point in the history
Fix 3 typos in the "Paginator" helper's documentation
  • Loading branch information
lorenzo committed Oct 25, 2012
2 parents 53543d7 + e73f334 commit 1dca882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/core-libraries/helpers/paginator.rst
Expand Up @@ -109,7 +109,7 @@ Supported options are:
* ``currentClass`` The classname to use on the current/active link. Defaults to * ``currentClass`` The classname to use on the current/active link. Defaults to
*current*. *current*.
* ``currentTag`` Tag to use for current page number, defaults to null. * ``currentTag`` Tag to use for current page number, defaults to null.
This allows you to generate for example Twitter bootstrap like links with the This allows you to generate for example Twitter Bootstrap like links with the
current page number wrapped in extra 'a' or 'span' tag. current page number wrapped in extra 'a' or 'span' tag.


While this method allows a lot of customization for its output. It is While this method allows a lot of customization for its output. It is
Expand All @@ -129,7 +129,7 @@ include links to the first 2 and last 2 pages in the paged results::
The ``currentClass`` option was added in 2.1. The ``currentClass`` option was added in 2.1.


.. versionadded:: 2.3 .. versionadded:: 2.3
The ``currentTag`` option was added in 2.1. The ``currentTag`` option was added in 2.3.


Creating jump links Creating jump links
=================== ===================
Expand Down Expand Up @@ -338,7 +338,7 @@ Sets all the options for the Paginator Helper. Supported options are:
$this->Paginator->options(array('update' => '#content')); $this->Paginator->options(array('update' => '#content'));


This is useful when doing :ref:`ajax-pagination`. Keep in mind that the value This is useful when doing :ref:`ajax-pagination`. Keep in mind that the value
of update can be any valid CSS selector, but most often is is simpler to use an of update can be any valid CSS selector, but most often is simpler to use an
id selector. id selector.


* ``model`` The name of the model being paginated, defaults to * ``model`` The name of the model being paginated, defaults to
Expand Down

0 comments on commit 1dca882

Please sign in to comment.