MediaWiki
REL1_39
AlphabeticPager.php
Go to the documentation of this file.
1
<?php
29
abstract
class
AlphabeticPager
extends
IndexPager
{
30
35
public
function
getNavigationBar
() {
36
if
( !$this->
isNavigationBarShown
() ) {
37
return
''
;
38
}
39
40
if
( isset( $this->mNavigationBar ) ) {
41
return
$this->mNavigationBar
;
42
}
43
44
$navBuilder = $this->
getNavigationBuilder
()
45
->setPrevMsg(
'prevn'
)
46
->setNextMsg(
'nextn'
)
47
->setFirstMsg(
'page_first'
)
48
->setLastMsg(
'page_last'
);
49
50
$this->mNavigationBar = $navBuilder->getHtml();
51
52
return
$this->mNavigationBar
;
53
}
54
}
AlphabeticPager
IndexPager with an alphabetic list and a formatted navigation bar.
Definition
AlphabeticPager.php:29
AlphabeticPager\getNavigationBar
getNavigationBar()
Definition
AlphabeticPager.php:35
IndexPager
IndexPager is an efficient pager which uses a (roughly unique) index in the data set to implement pag...
Definition
IndexPager.php:75
IndexPager\getNavigationBuilder
getNavigationBuilder()
Definition
IndexPager.php:852
IndexPager\$mNavigationBar
string $mNavigationBar
Definition
IndexPager.php:152
IndexPager\isNavigationBarShown
isNavigationBarShown()
Returns whether to show the "navigation bar".
Definition
IndexPager.php:895
includes
pager
AlphabeticPager.php
Generated on Thu Nov 21 2024 05:23:38 for MediaWiki by
1.10.0