MediaWiki
REL1_39
UnlistedSpecialPage.php
Go to the documentation of this file.
1
<?php
31
class
UnlistedSpecialPage
extends
SpecialPage
{
32
41
public
function
__construct
( $name, $restriction =
''
, $function =
false
,
$file
=
'default'
) {
42
parent::__construct( $name, $restriction,
false
, $function,
$file
);
43
}
44
45
public
function
isListed
() {
46
return
false
;
47
}
48
}
SpecialPage
Parent class for all special pages.
Definition
SpecialPage.php:44
UnlistedSpecialPage
Shortcut to construct a special page which is unlisted by default.
Definition
UnlistedSpecialPage.php:31
UnlistedSpecialPage\isListed
isListed()
Whether this special page is listed in Special:SpecialPages.
Definition
UnlistedSpecialPage.php:45
UnlistedSpecialPage\__construct
__construct( $name, $restriction='', $function=false, $file='default')
Definition
UnlistedSpecialPage.php:41
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
specialpage
UnlistedSpecialPage.php
Generated on Tue Oct 1 2024 01:45:55 for MediaWiki by
1.10.0