[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialProtectedpages.php (summary)

Implements Special:Protectedpages This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 572 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

SpecialProtectedpages:: (11 methods):
  __construct()
  execute()
  showOptions()
  getNamespaceMenu()
  getExpiryCheck()
  getCascadeCheck()
  getRedirectCheck()
  getSizeLimit()
  getTypeMenu()
  getLevelMenu()
  getGroupName()

ProtectedPagesPager:: (9 methods):
  __construct()
  preprocessResults()
  getFieldNames()
  formatValue()
  getQueryInfo()
  getTableClass()
  getIndexField()
  getDefaultSort()
  isFieldSortable()


Class: SpecialProtectedpages  - X-Ref

A special page that lists protected pages

__construct()   X-Ref
No description

execute( $par )   X-Ref
No description

showOptions( $namespace, $type = 'edit', $level, $sizetype,$size, $indefOnly, $cascadeOnly, $noRedirect)   X-Ref

param: int $namespace
param: string $type Restriction type
param: string $level Restriction level
param: string $sizetype "min" or "max"
param: int $size
param: bool $indefOnly Only indefinite protection
param: bool $cascadeOnly Only cascading protection
param: bool $noRedirect Don't show redirects
return: string Input form

getNamespaceMenu( $namespace = null )   X-Ref
Prepare the namespace filter drop-down; standard namespace
selector, sans the MediaWiki namespace

param: string|null $namespace Pre-select namespace
return: string

getExpiryCheck( $indefOnly )   X-Ref

param: bool $indefOnly
return: string Formatted HTML

getCascadeCheck( $cascadeOnly )   X-Ref

param: bool $cascadeOnly
return: string Formatted HTML

getRedirectCheck( $noRedirect )   X-Ref

param: bool $noRedirect
return: string Formatted HTML

getSizeLimit( $sizetype, $size )   X-Ref

param: string $sizetype "min" or "max"
param: mixed $size
return: string Formatted HTML

getTypeMenu( $pr_type )   X-Ref
Creates the input label of the restriction type

param: string $pr_type Protection type
return: string Formatted HTML

getLevelMenu( $pr_level )   X-Ref
Creates the input label of the restriction level

param: string $pr_level Protection level
return: string Formatted HTML

getGroupName()   X-Ref
No description

Class: ProtectedPagesPager  - X-Ref


__construct( $form, $conds = array()   X-Ref
No description

preprocessResults( $result )   X-Ref
No description

getFieldNames()   X-Ref
No description

formatValue( $field, $value )   X-Ref

param: string $field
param: string $value
return: string

getQueryInfo()   X-Ref
No description

getTableClass()   X-Ref
No description

getIndexField()   X-Ref
No description

getDefaultSort()   X-Ref
No description

isFieldSortable( $field )   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1