[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

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

Defines 1 class

SpecialPasswordReset:: (10 methods):
  __construct()
  userCanExecute()
  checkExecutePermissions()
  getFormFields()
  alterForm()
  onSubmit()
  onSuccess()
  canChangePassword()
  isListed()
  getGroupName()


Class: SpecialPasswordReset  - X-Ref

Special page for requesting a password reset email

__construct()   X-Ref


userCanExecute( User $user )   X-Ref
No description

checkExecutePermissions( User $user )   X-Ref
No description

getFormFields()   X-Ref
No description

alterForm( HTMLForm $form )   X-Ref
No description

onSubmit( array $data )   X-Ref
Process the form.  At this point we know that the user passes all the criteria in
userCanExecute(), and if the data array contains 'Username', etc, then Username
resets are allowed.

param: array $data
return: bool|array

onSuccess()   X-Ref


canChangePassword( User $user )   X-Ref
No description

isListed()   X-Ref
Hide the password reset page if resets are disabled.

return: bool

getGroupName()   X-Ref
No description



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