[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

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

Defines 1 class

SpecialResetTokens:: (9 methods):
  __construct()
  getTokensList()
  execute()
  onSuccess()
  getFormFields()
  alterForm()
  onSubmit()
  getGroupName()
  isListed()


Class: SpecialResetTokens  - X-Ref

Let users reset tokens like the watchlist token.

__construct()   X-Ref
No description

getTokensList()   X-Ref
Returns the token information list for this page after running
the hook and filtering out disabled preferences.

return: array

execute( $par )   X-Ref
No description

onSuccess()   X-Ref
No description

getFormFields()   X-Ref
Display appropriate message if there's nothing to do.
The submit button is also suppressed in this case (see alterForm()).

return: array

alterForm( HTMLForm $form )   X-Ref
Suppress the submit button if there's nothing to do;
provide additional message on it otherwise.

param: HTMLForm $form

onSubmit( array $formData )   X-Ref
No description

getGroupName()   X-Ref
No description

isListed()   X-Ref
No description



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