PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.33
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.33
3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 2.44 All 141 releases
photonic / Components / Pagination.php

Pagination.php in Photonic Gallery & Lightbox for Flickr, SmugMug & Others 3.33, at Components/Pagination.php

30 lines 737 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Photonic_Plugin\Components;
3
4 class Pagination {
5 /**
6 * @var int $start Index of the first element of the current dataset, relative to the total dataset; >= 1
7 */
8 public $start;
9
10 /**
11 * @var int $end Index of the last element of the current dataset, relative to the total dataset; <= $total
12 */
13 public $end;
14
15 /**
16 * @var int $total Total number of elements in the current dataset
17 */
18 public $total;
19
20 /**
21 * @var int $per_page Items attempted to fetch for the current dataset; $per_page >= $end - $start + 1
22 */
23 public $per_page;
24
25 /**
26 * @var string $next_token Token to fetch next data set; some platforms use this instead of defining hard counts
27 */
28 public $next_token;
29 }
30