Build the navigation for a pager, with links to prev/next page, links to change limits, and optionally links to first/last page.
More...
|
| makeLink (?array $query, ?string $class, string $text, ?string $tooltip, ?string $rel=null) |
|
Build the navigation for a pager, with links to prev/next page, links to change limits, and optionally links to first/last page.
- Since
- 1.39
Definition at line 19 of file PagerNavigationBuilder.php.
◆ __construct()
MediaWiki\Navigation\PagerNavigationBuilder::__construct |
( |
MessageLocalizer | $messageLocalizer | ) |
|
◆ getHtml()
MediaWiki\Navigation\PagerNavigationBuilder::getHtml |
( |
| ) |
|
◆ makeLink()
MediaWiki\Navigation\PagerNavigationBuilder::makeLink |
( |
?array | $query, |
|
|
?string | $class, |
|
|
string | $text, |
|
|
?string | $tooltip, |
|
|
?string | $rel = null ) |
|
protected |
- Stability: stable
- to override
- Parameters
-
array | null | $query | |
string | null | $class | |
string | $text | |
string | null | $tooltip | |
string | null | $rel | |
- Returns
- string HTML
Definition at line 270 of file PagerNavigationBuilder.php.
References $type.
◆ setCurrentLimit()
MediaWiki\Navigation\PagerNavigationBuilder::setCurrentLimit |
( |
int | $currentLimit | ) |
|
◆ setFirstLinkQuery()
MediaWiki\Navigation\PagerNavigationBuilder::setFirstLinkQuery |
( |
?array | $firstLinkQuery | ) |
|
◆ setFirstMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setFirstMsg |
( |
?string | $firstMsg | ) |
|
◆ setFirstTooltipMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setFirstTooltipMsg |
( |
?string | $firstTooltipMsg | ) |
|
◆ setLastLinkQuery()
MediaWiki\Navigation\PagerNavigationBuilder::setLastLinkQuery |
( |
?array | $lastLinkQuery | ) |
|
◆ setLastMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setLastMsg |
( |
?string | $lastMsg | ) |
|
◆ setLastTooltipMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setLastTooltipMsg |
( |
?string | $lastTooltipMsg | ) |
|
◆ setLimitLinkQueryParam()
MediaWiki\Navigation\PagerNavigationBuilder::setLimitLinkQueryParam |
( |
string | $limitLinkQueryParam | ) |
|
◆ setLimits()
MediaWiki\Navigation\PagerNavigationBuilder::setLimits |
( |
array | $limits | ) |
|
◆ setLimitTooltipMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setLimitTooltipMsg |
( |
?string | $limitTooltipMsg | ) |
|
◆ setLinkQuery()
MediaWiki\Navigation\PagerNavigationBuilder::setLinkQuery |
( |
array | $linkQuery | ) |
|
◆ setMakeLinkCallback()
MediaWiki\Navigation\PagerNavigationBuilder::setMakeLinkCallback |
( |
?callable | $callback | ) |
|
◆ setNextLinkQuery()
MediaWiki\Navigation\PagerNavigationBuilder::setNextLinkQuery |
( |
?array | $nextLinkQuery | ) |
|
◆ setNextMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setNextMsg |
( |
string | $nextMsg | ) |
|
◆ setNextTooltipMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setNextTooltipMsg |
( |
?string | $nextTooltipMsg | ) |
|
◆ setPage()
MediaWiki\Navigation\PagerNavigationBuilder::setPage |
( |
PageReference | $page | ) |
|
◆ setPrevLinkQuery()
MediaWiki\Navigation\PagerNavigationBuilder::setPrevLinkQuery |
( |
?array | $prevLinkQuery | ) |
|
◆ setPrevMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setPrevMsg |
( |
string | $prevMsg | ) |
|
◆ setPrevTooltipMsg()
MediaWiki\Navigation\PagerNavigationBuilder::setPrevTooltipMsg |
( |
?string | $prevTooltipMsg | ) |
|
◆ $linkQuery
array<string,?string> MediaWiki\Navigation\PagerNavigationBuilder::$linkQuery = [] |
|
protected |
◆ $page
The documentation for this class was generated from the following file: