[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

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

Defines 2 classes

SpecialAllMessages:: (3 methods):
  __construct()
  execute()
  getGroupName()

AllMessagesTablePager:: (15 methods):
  __construct()
  buildForm()
  getAllMessages()
  getCustomisedStatuses()
  reallyDoQuery()
  getStartBody()
  formatValue()
  formatRow()
  getRowAttrs()
  getCellAttrs()
  getFieldNames()
  getTitle()
  isFieldSortable()
  getDefaultSort()
  getQueryInfo()


Class: SpecialAllMessages  - X-Ref

Use this special page to get a list of the MediaWiki system messages.

__construct()   X-Ref
Constructor


execute( $par )   X-Ref
Show the special page

param: string $par Parameter passed to the page or null

getGroupName()   X-Ref
No description

Class: AllMessagesTablePager  - X-Ref

Use TablePager for prettified output. We have to pretend that we're
getting data from a table when in fact not all of it comes from the database.

__construct( $page, $conds, $langObj = null )   X-Ref


buildForm()   X-Ref
No description

getAllMessages( $descending )   X-Ref
No description

getCustomisedStatuses( $messageNames, $langcode = 'en', $foreign = false )   X-Ref
Determine which of the MediaWiki and MediaWiki_talk namespace pages exist.
Returns array( 'pages' => ..., 'talks' => ... ), where the subarrays have
an entry for each existing page, with the key being the message name and
value arbitrary.

param: array $messageNames
param: string $langcode What language code
param: bool $foreign Whether the $langcode is not the content language
return: array A 'pages' and 'talks' array with the keys of existing pages

reallyDoQuery( $offset, $limit, $descending )   X-Ref
This function normally does a database query to get the results; we need
to make a pretend result using a FakeResultWrapper.

param: string $offset
param: int $limit
param: bool $descending
return: FakeResultWrapper

getStartBody()   X-Ref
No description

formatValue( $field, $value )   X-Ref
No description

formatRow( $row )   X-Ref
No description

getRowAttrs( $row, $isSecond = false )   X-Ref
No description

getCellAttrs( $field, $value )   X-Ref
No description

getFieldNames()   X-Ref
No description

getTitle()   X-Ref
No description

isFieldSortable( $x )   X-Ref
No description

getDefaultSort()   X-Ref
No description

getQueryInfo()   X-Ref
No description



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