MediaWiki REL1_28
|
MalformedTitleException is thrown when a TitleParser is unable to parse a title string. More...
Public Member Functions | |
__construct ( $errorMessage=null, $titleText=null, $errorMessageParameters=[]) | |
getErrorMessage () | |
getErrorMessageParameters () | |
getTitleText () | |
Private Attributes | |
$errorMessage = null | |
$errorMessageParameters = [] | |
$titleText = null | |
MalformedTitleException is thrown when a TitleParser is unable to parse a title string.
Definition at line 25 of file MalformedTitleException.php.
MalformedTitleException::__construct | ( | $errorMessage = null , |
|
$titleText = null , |
|||
$errorMessageParameters = [] |
|||
) |
string | $errorMessage | Localisation message describing the error (since MW 1.26) |
string | $titleText | The invalid title text (since MW 1.26) |
string[] | $errorMessageParameters | Additional parameters for the error message. $titleText will be appended if it's not null. (since MW 1.26) |
Definition at line 36 of file MalformedTitleException.php.
References $errorMessage, $errorMessageParameters, $titleText, and wfMessage().
MalformedTitleException::getErrorMessage | ( | ) |
Definition at line 64 of file MalformedTitleException.php.
References $errorMessage.
Referenced by TitleTest\testSecureAndSplitInvalid(), and HTMLTitleTextField\validate().
MalformedTitleException::getErrorMessageParameters | ( | ) |
Definition at line 72 of file MalformedTitleException.php.
References $errorMessageParameters.
MalformedTitleException::getTitleText | ( | ) |
Definition at line 56 of file MalformedTitleException.php.
References $titleText.
|
private |
Definition at line 27 of file MalformedTitleException.php.
Referenced by __construct(), and getErrorMessage().
|
private |
Definition at line 28 of file MalformedTitleException.php.
Referenced by __construct(), and getErrorMessageParameters().
|
private |
Definition at line 26 of file MalformedTitleException.php.
Referenced by __construct(), and getTitleText().