Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Aug 6, 2023
1 parent 7c25932 commit 26e981b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions en/views/helpers/paginator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,9 @@ Checking the Pagination State
echo $this->Paginator->current();
// Output is 3

<<<<<<< HEAD
.. php:method:: hasNext()
=======
Uses the ``current`` template.

.. php:method:: hasNext(string $model = null)
>>>>>>> 4.next
Returns ``true`` if the given result set is not at the last page.

Expand All @@ -367,12 +363,8 @@ Creating a Page Counter
Returns a counter string for the paged result set. Using a provided format
string and a number of options you can create localized and application
<<<<<<< HEAD
specific indicators of where a user is in the paged data set.
=======
specific indicators of where a user is in the paged data set. Uses the
``counterRange``, and ``counterPages`` templates.
>>>>>>> 4.next

Supported formats are 'range', 'pages' and custom. Defaults to pages which would
output like '1 of 10'. In the custom mode the supplied string is parsed and
Expand All @@ -397,20 +389,12 @@ available. For example::

Setting 'format' to range would output like '1 - 3 of 13'::

<<<<<<< HEAD
echo $this->Paginator->counter('range');
=======
echo $this->Paginator->counter('range');
>>>>>>> 4.next

Generating Pagination URLs
==========================

<<<<<<< HEAD
.. php:method:: generateUrl(array $options = [], $full = false)
=======
.. php:method:: generateUrl(array $options = [], ?string $model = null, array $url = [], array $urlOptions = [])
>>>>>>> 4.next
By default returns a full pagination URL string for use in non-standard contexts
(i.e. JavaScript). ::
Expand Down

0 comments on commit 26e981b

Please sign in to comment.