| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
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. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| File Size: | 102 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
UserNotLoggedIn:: (2 methods):
__construct()
report()
Class: UserNotLoggedIn - X-Ref
Redirect a user to the login page| __construct($reasonMsg = 'exception-nologin-text',$titleMsg = 'exception-nologin',$params = array() X-Ref |
param: string $reasonMsg A message key containing the reason for the error. param: string $titleMsg A message key to set the page title. param: array $params Parameters to wfMessage(). |
| report() X-Ref |
| Redirect to Special:Userlogin if the specified message is compatible. Otherwise, show an error page as usual. |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |