MediaWiki
REL1_31
UnlistedSpecialPage.php
Go to the documentation of this file.
1
<?php
29
class
UnlistedSpecialPage
extends
SpecialPage
{
30
function
__construct
( $name, $restriction =
''
, $function =
false
, $file =
'default'
) {
31
parent::__construct( $name, $restriction,
false
, $function, $file );
32
}
33
34
public
function
isListed
() {
35
return
false
;
36
}
37
}
SpecialPage
Parent class for all special pages.
Definition
SpecialPage.php:36
UnlistedSpecialPage
Shortcut to construct a special page which is unlisted by default.
Definition
UnlistedSpecialPage.php:29
UnlistedSpecialPage\isListed
isListed()
Whether this special page is listed in Special:SpecialPages.
Definition
UnlistedSpecialPage.php:34
UnlistedSpecialPage\__construct
__construct( $name, $restriction='', $function=false, $file='default')
Definition
UnlistedSpecialPage.php:30
includes
specialpage
UnlistedSpecialPage.php
Generated on Mon Nov 25 2024 15:35:23 for MediaWiki by
1.10.0