1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00

Update to docs in MarkupPagerNav.module per processwire/processwire-issues#969

This commit is contained in:
Ryan Cramer
2019-09-26 12:16:46 -04:00
parent 1fe7172cd8
commit 648d2731d5

View File

@@ -73,7 +73,7 @@ require_once(dirname(__FILE__) . '/PagerNav.php');
* not necessary to change any of the default options unless you want to change the markup and/or classes used in output.
* #pw-body
*
* @property int $numPageLinks The number of links that the pagination navigation should have (default=10). #pw-group-general-options
* @property int $numPageLinks The number of links that the pagination navigation should have, minimum 5 (default=10). #pw-group-general-options
* @property array $getVars GET vars that should appear in the pagination, or leave empty and populate $input->whitelist (recommended). #pw-group-general-options
* @property string $baseUrl The base URL from which the navigation item links will start (default=''). #pw-group-general-options
* @property null|Page $page The current Page, or leave NULL to autodetect. #pw-group-general-options
@@ -128,7 +128,7 @@ class MarkupPagerNav extends Wire implements Module {
*/
protected $options = array(
// number of links that the pagination navigation should have (typically 10)
// number of links that the pagination navigation should have, minimum 5 (typically 10)
'numPageLinks' => 10,
// get vars that should appear in the pagination, or leave empty and populate $input->whitelist (preferred)