MediaWiki
REL1_40
AlphabeticPager.php
Go to the documentation of this file.
1
<?php
27
abstract
class
AlphabeticPager
extends
IndexPager
{
28
33
public
function
getNavigationBar
() {
34
if
( !$this->
isNavigationBarShown
() ) {
35
return
''
;
36
}
37
38
if
( isset( $this->mNavigationBar ) ) {
39
return
$this->mNavigationBar
;
40
}
41
42
$navBuilder = $this->
getNavigationBuilder
()
43
->setPrevMsg(
'prevn'
)
44
->setNextMsg(
'nextn'
)
45
->setFirstMsg(
'page_first'
)
46
->setLastMsg(
'page_last'
);
47
48
$this->mNavigationBar = $navBuilder->getHtml();
49
50
return
$this->mNavigationBar
;
51
}
52
}
AlphabeticPager
IndexPager with an alphabetic list and a formatted navigation bar.
Definition
AlphabeticPager.php:27
AlphabeticPager\getNavigationBar
getNavigationBar()
Definition
AlphabeticPager.php:33
IndexPager
Efficient paging for SQL queries that use a (roughly unique) index.
Definition
IndexPager.php:77
IndexPager\getNavigationBuilder
getNavigationBuilder()
Definition
IndexPager.php:804
IndexPager\$mNavigationBar
string $mNavigationBar
Definition
IndexPager.php:153
IndexPager\isNavigationBarShown
isNavigationBarShown()
Returns whether to show the "navigation bar".
Definition
IndexPager.php:845
includes
pager
AlphabeticPager.php
Generated on Thu Jun 27 2024 14:03:34 for MediaWiki by
1.10.0