You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td><p>(Optional) If set to <code>FALSE</code>, the <em>previous page</em> and <em>next page</em> links will only be shown if there are more pages than <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodselectable_pages">selectable pages</a>.</p><p>Default is <code>TRUE</code>.</p></td>
146
+
<td><p><spanclass="optional">Optional</span> If set to <code>FALSE</code>, the <em>previous page</em> and <em>next page</em> links will only be shown if there are more pages than <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodselectable_pages">selectable pages</a>.</p><p>Default is <code>TRUE</code>.</p></td>
147
147
</tr>
148
148
</table>
149
149
<h5>Tags</h5>
@@ -179,7 +179,7 @@ <h5>Arguments</h5>
179
179
<tr>
180
180
<td><em>boolean</em></td>
181
181
<td><strong>$status</strong></td>
182
-
<td><p>(Optional) If set to <code>FALSE</code>, the library will have for the first page (or last, if you are displaying links in <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodreverse">reverse</a> order) a different path than the one you have when you are accessing the page for the first (un-paginated) time.</p><p>Default is <code>TRUE</code>.</p></td>
182
+
<td><p><spanclass="optional">Optional</span> If set to <code>FALSE</code>, the library will have for the first page (or last, if you are displaying links in <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodreverse">reverse</a> order) a different path than the one you have when you are accessing the page for the first (un-paginated) time.</p><p>Default is <code>TRUE</code>.</p></td>
183
183
</tr>
184
184
</table>
185
185
<h5>Tags</h5>
@@ -220,12 +220,12 @@ <h5>Arguments</h5>
220
220
<tr>
221
221
<td><em>string</em></td>
222
222
<td><strong>$base_url</strong></td>
223
-
<td><p>(Optional) The base URL to be used when generating the navigation links</p><p>Defaults is whatever returned by <ahref="https://www.php.net/manual/en/reserved.variables.server.php">$_SERVER['REQUEST_URI']</a></p></td>
223
+
<td><p><spanclass="optional">Optional</span> The base URL to be used when generating the navigation links</p><p>Defaults is whatever returned by <ahref="https://www.php.net/manual/en/reserved.variables.server.php">$_SERVER['REQUEST_URI']</a></p></td>
224
224
</tr>
225
225
<tr>
226
226
<td><em>boolean</em></td>
227
227
<td><strong>$preserve_query_string</strong></td>
228
-
<td><p>(Optional) Indicates whether values in query strings, other than those set in <code>base_url</code>, should be preserved</p><p>Default is <code>TRUE</code></p></td>
228
+
<td><p><spanclass="optional">Optional</span> Indicates whether values in query strings, other than those set in <code>base_url</code>, should be preserved</p><p>Default is <code>TRUE</code></p></td>
229
229
</tr>
230
230
</table>
231
231
<ahref="#top" class="top">top</a>
@@ -402,17 +402,17 @@ <h5>Arguments</h5>
402
402
<tr>
403
403
<td><em>string</em></td>
404
404
<td><strong>$previous</strong></td>
405
-
<td><p>(Optional) The label for the <em>previous page</em> link.</p><p>Default is <code>&laquo;</code> (which looks like <code>«</code>)</p></td>
405
+
<td><p><spanclass="optional">Optional</span> The label for the <em>previous page</em> link.</p><p>Default is <code>&laquo;</code> (which looks like <code>«</code>)</p></td>
406
406
</tr>
407
407
<tr>
408
408
<td><em>string</em></td>
409
409
<td><strong>$next</strong></td>
410
-
<td><p>(Optional) The label for the <em>next page</em> link.</p><p>Default is <code>&raquo;</code> (which looks like <code>»</code>).</p></td>
410
+
<td><p><spanclass="optional">Optional</span> The label for the <em>next page</em> link.</p><p>Default is <code>&raquo;</code> (which looks like <code>»</code>).</p></td>
411
411
</tr>
412
412
<tr>
413
413
<td><em>string</em></td>
414
414
<td><strong>$progress</strong></td>
415
-
<td><p>(Optional) The label for showing the current progress when in <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodcondensed">condensed</a> mode.</p><p>Default is <code>%d / %d</code></p><p>First <code>%d</code> will be replaced with the current page while the second one with the number of total pages.</p></td>
415
+
<td><p><spanclass="optional">Optional</span> The label for showing the current progress when in <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodcondensed">condensed</a> mode.</p><p>Default is <code>%d / %d</code></p><p>First <code>%d</code> will be replaced with the current page while the second one with the number of total pages.</p></td>
416
416
</tr>
417
417
</table>
418
418
<h5>Tags</h5>
@@ -448,7 +448,7 @@ <h5>Arguments</h5>
448
448
<tr>
449
449
<td><em>string</em></td>
450
450
<td><strong>$method</strong></td>
451
-
<td><p>(Optional) The method to be used for page propagation.</p><p>Valid values are:</p><p><ul><li><code>url</code> - page propagation is done in a SEO friendly way</li></ul><p> This method requires the <ahref="https://httpd.apache.org/docs/current/mod/mod_rewrite.html">mod_rewrite</a> module to be enabled on your Apache server (or the equivalent for other web servers).</p><p>When using this method, the current page will be passed in the URL as</p><p><code>https://youwebsite.com/yourpage/[variable name][page number]/</code></p><p>where <code>variable name</code> is set through <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodvariable_name">variable_name</a> and <code>page number</code> represents the current page.</p><p><ul><li><code>get</code> - page propagation is done through <code>GET</code></li></ul><p> When using this method, the current page will be passed in the URL as</p><p><code>https://youwebsite.com/yourpage?[variable name]=[page number]</code></p><p>where <code>variable name</code> is set through <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodvariable_name">variable_name</a> and <code>page number</code> represents the current page.</p><p>Default is <code>get</code>.</p></td>
451
+
<td><p><spanclass="optional">Optional</span> The method to be used for page propagation.</p><p>Valid values are:</p><p><ul><li><code>url</code> - page propagation is done in a SEO friendly way</li></ul><p> This method requires the <ahref="https://httpd.apache.org/docs/current/mod/mod_rewrite.html">mod_rewrite</a> module to be enabled on your Apache server (or the equivalent for other web servers).</p><p>When using this method, the current page will be passed in the URL as</p><p><code>https://youwebsite.com/yourpage/[variable name][page number]/</code></p><p>where <code>variable name</code> is set through <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodvariable_name">variable_name</a> and <code>page number</code> represents the current page.</p><p><ul><li><code>get</code> - page propagation is done through <code>GET</code></li></ul><p> When using this method, the current page will be passed in the URL as</p><p><code>https://youwebsite.com/yourpage?[variable name]=[page number]</code></p><p>where <code>variable name</code> is set through <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodvariable_name">variable_name</a> and <code>page number</code> represents the current page.</p><p>Default is <code>get</code>.</p></td>
452
452
</tr>
453
453
</table>
454
454
<ahref="#top" class="top">top</a>
@@ -506,7 +506,7 @@ <h5>Arguments</h5>
506
506
<tr>
507
507
<td><em>boolean</em></td>
508
508
<td><strong>$status</strong></td>
509
-
<td><p>(Optional) Setting this property to <code>FALSE</code> will disable padding.</p><p>Default is <code>TRUE</code>.</p></td>
509
+
<td><p><spanclass="optional">Optional</span> Setting this property to <code>FALSE</code> will disable padding.</p><p>Default is <code>TRUE</code>.</p></td>
510
510
</tr>
511
511
</table>
512
512
<ahref="#top" class="top">top</a>
@@ -586,7 +586,7 @@ <h5>Arguments</h5>
586
586
<tr>
587
587
<td><em>boolean</em></td>
588
588
<td><strong>$return_output</strong></td>
589
-
<td><p>(Optional) Setting this argument to <code>TRUE</code> will instruct the script to return the generated output rather than outputting it to the screen.</p><p>Default is <code>FALSE</code>.</p></td>
589
+
<td><p><spanclass="optional">Optional</span> Setting this argument to <code>TRUE</code> will instruct the script to return the generated output rather than outputting it to the screen.</p><p>Default is <code>FALSE</code>.</p></td>
590
590
</tr>
591
591
</table>
592
592
<ahref="#top" class="top">top</a>
@@ -615,7 +615,7 @@ <h5>Arguments</h5>
615
615
<tr>
616
616
<td><em>boolean</em></td>
617
617
<td><strong>$reverse</strong></td>
618
-
<td><p>(Optional) Set it to <code>TRUE</code> to generate navigation links in reverse order.</p><p>Default is <code>FALSE</code>.</p></td>
618
+
<td><p><spanclass="optional">Optional</span> Set it to <code>TRUE</code> to generate navigation links in reverse order.</p><p>Default is <code>FALSE</code>.</p></td>
619
619
</tr>
620
620
</table>
621
621
<h5>Tags</h5>
@@ -701,7 +701,7 @@ <h5>Arguments</h5>
701
701
<tr>
702
702
<td><em>boolean</em></td>
703
703
<td><strong>$status</strong></td>
704
-
<td><p>(Optional) Setting this property to <code>FALSE</code> will disable trailing slashes on generated URLs when <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodmethod">method</a> is <code>url</code>.</p><p>Default is <code>TRUE</code> (trailing slashes are enabled by default).</p></td>
704
+
<td><p><spanclass="optional">Optional</span> Setting this property to <code>FALSE</code> will disable trailing slashes on generated URLs when <ahref="../Zebra_Pagination/Zebra_Pagination.html#methodmethod">method</a> is <code>url</code>.</p><p>Default is <code>TRUE</code> (trailing slashes are enabled by default).</p></td>
705
705
</tr>
706
706
</table>
707
707
<ahref="#top" class="top">top</a>
@@ -740,7 +740,7 @@ <h5>Arguments</h5>
740
740
</tr>
741
741
</table>
742
742
<divid="doc_footer">
743
-
Documentation generated on <span>Wed, 19 June 2024</span>
743
+
Documentation generated on <span>Mon, 09 February 2026</span>
744
744
</div>
745
745
</div>
746
746
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-0301ZD47Q7"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','G-0301ZD47Q7');</script></body>
That's me, Stefan Gabos, the author of this library.
49
+
<br><br>
50
+
If you like this project, please <ahref="https://github.com/stefangabos/Zebra_Pagination" class="projects-homepage">star it on GitHub</a> — <strong>thank you</strong>!
51
+
<br><br>
52
+
I have a few other projects that you might be interested in — <ahref="https://github.com/stefangabos">check them out</a> if you have the time.
<dd>A generic, Twitter Bootstrap compatible (versions 3, 4 and 5), pagination script that automatically generates navigation links as well as next/previous page links, given the total number of records and the number of records to be shown per page.</dd>
65
+
</dl>
66
+
</div>
67
+
</td>
68
+
</tr>
69
+
</table>
70
+
<divid="doc_footer">
71
+
Documentation generated on <span>Mon, 09 February 2026</span>
72
+
</div>
73
+
</div>
74
+
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-0301ZD47Q7"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','G-0301ZD47Q7');</script></body>
Copy file name to clipboardExpand all lines: docs/elementindex_Zebra_Pagination.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@
53
53
</p>
54
54
</div>
55
55
</td>
56
-
<tdstyle="background: #FFF">
56
+
<tdstyle="background: #FFF; width: 100%">
57
57
<divid="doc_content">
58
58
<h2id="top">Element index for <strong>Zebra_Pagination</strong></h2>
59
59
<divid="doc_index">
@@ -219,7 +219,7 @@ <h3 id="z">z</h3>
219
219
</tr>
220
220
</table>
221
221
<divid="doc_footer">
222
-
Documentation generated on <span>Wed, 19 June 2024</span>
222
+
Documentation generated on <span>Mon, 09 February 2026</span>
223
223
</div>
224
224
</div>
225
225
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-0301ZD47Q7"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','G-0301ZD47Q7');</script></body>
Copy file name to clipboardExpand all lines: docs/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@
53
53
</p>
54
54
</div>
55
55
</td>
56
-
<tdstyle="background: #FFF">
56
+
<tdstyle="background: #FFF; width: 100%">
57
57
<divid="doc_content">
58
58
<h2>Zebra Pagination - a generic, Twitter Bootstrap compatible, PHP pagination library that automatically generates navigation links</h2>
59
59
<p>This is the documentation for <strong>Zebra_Pagination!</strong></p>
@@ -63,7 +63,7 @@ <h2>Zebra Pagination - a generic, Twitter Bootstrap compatible, PHP pagination l
63
63
</tr>
64
64
</table>
65
65
<divid="doc_footer">
66
-
Documentation generated on <span>Wed, 19 June 2024</span>
66
+
Documentation generated on <span>Mon, 09 February 2026</span>
67
67
</div>
68
68
</div>
69
69
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-0301ZD47Q7"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','G-0301ZD47Q7');</script></body>
That's me, Stefan Gabos, the author of this library.
49
+
<br><br>
50
+
If you like this project, please <ahref="https://github.com/stefangabos/Zebra_Pagination" class="projects-homepage">star it on GitHub</a> — <strong>thank you</strong>!
51
+
<br><br>
52
+
I have a few other projects that you might be interested in — <ahref="https://github.com/stefangabos">check them out</a> if you have the time.
53
+
</p>
54
+
</div>
55
+
</td>
56
+
<tdstyle="background: #FFF; width: 100%">
57
+
<divid="doc_content">
58
+
<h2>Zebra Pagination - a generic, Twitter Bootstrap compatible, PHP pagination library that automatically generates navigation links</h2>
59
+
<p>This is the documentation for <strong>Zebra_Pagination!</strong></p>
60
+
<p>Use the links in the left sidebar to browse through the documentation.</p>
61
+
</div>
62
+
</td>
63
+
</tr>
64
+
</table>
65
+
<divid="doc_footer">
66
+
Documentation generated on <span>Mon, 09 February 2026</span>
67
+
</div>
68
+
</div>
69
+
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-0301ZD47Q7"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','G-0301ZD47Q7');</script></body>
0 commit comments