[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

Implements Special:Allpages 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: 384 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SpecialAllPages:: (7 methods):
  __construct()
  execute()
  namespaceForm()
  showToplevel()
  showChunk()
  getNamespaceKeyAndText()
  getGroupName()


Class: SpecialAllPages  - X-Ref

Implements Special:Allpages

__construct( $name = 'Allpages' )   X-Ref
Constructor

param: string $name Name of the special page, as seen in links and URLs (default: 'Allpages')

execute( $par )   X-Ref
Entry point : initialise variables and call subfunctions.

param: string $par Becomes "FOO" when called like Special:Allpages/FOO (default null)

namespaceForm( $namespace = NS_MAIN, $from = '', $to = '', $hideredirects = false )   X-Ref
HTML for the top form

param: int $namespace A namespace constant (default NS_MAIN).
param: string $from DbKey we are starting listing at.
param: string $to DbKey we are ending listing at.
param: bool $hideredirects Dont show redirects  (default false)
return: string

showToplevel( $namespace = NS_MAIN, $from = '', $to = '', $hideredirects = false )   X-Ref

param: int $namespace (default NS_MAIN)
param: string $from List all pages from this name
param: string $to List all pages to this name
param: bool $hideredirects Dont show redirects (default false)

showChunk( $namespace = NS_MAIN, $from = false, $to = false, $hideredirects = false )   X-Ref

param: int $namespace Namespace (Default NS_MAIN)
param: string $from List all pages from this name (default false)
param: string $to List all pages to this name (default false)
param: bool $hideredirects Dont show redirects (default false)

getNamespaceKeyAndText( $ns, $text )   X-Ref

param: int $ns The namespace of the article
param: string $text The name of the article
return: array( int namespace, string dbkey, string pagename ) or null on error

getGroupName()   X-Ref
No description



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