@@ -187,6 +187,8 @@ The lock option can be used to lock sorting into the specified direction:
187187echo $this->Paginator->sort('user_id', null, ['direction' => 'asc', 'lock' => true]);
188188```
189189
190+ ### Getting Sort Direction and Key
191+
190192` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** sortDir** (string $model = null, mixed $options = [ ] )
191193
192194` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** sortKey** (string $model = null, mixed $options = [ ] )
@@ -247,12 +249,20 @@ In addition to generating links that go directly to specific page numbers,
247249you'll often want links that go to the previous and next links, first and last
248250pages in the paged data set.
249251
252+ ### prev()
253+
250254` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** prev** ($title = '<< Previous', $options = [ ] )
251255
256+ ### next()
257+
252258` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** next** ($title = 'Next >>', $options = [ ] )
253259
260+ ### first()
261+
254262` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** first** ($first = '<< first', $options = [ ] )
255263
264+ ### last()
265+
256266` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** last** ($last = 'last >>', $options = [ ] )
257267
258268### Creating Header Link Tags
@@ -270,14 +280,24 @@ echo $this->Paginator->meta(['first' => true, 'last' => true]);
270280
271281### Checking the Pagination State
272282
283+ #### current()
284+
273285` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** current** ()
274286
287+ #### hasNext()
288+
275289` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** hasNext** (string $model = null)
276290
291+ #### hasPrev()
292+
277293` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** hasPrev** ()
278294
295+ #### hasPage()
296+
279297` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** hasPage** (int $page = 1)
280298
299+ #### total()
300+
281301` method ` Cake\\ View\\ Helper\\ PaginatorHelper::** total** ()
282302
283303### Creating a Page Counter
0 commit comments