MediaWiki  REL1_22
WikiXmlError Class Reference

Error class designed to handle errors involved with XML parsing. More...

Inheritance diagram for WikiXmlError:
Collaboration diagram for WikiXmlError:

List of all members.

Public Member Functions

 __construct ($parser, $message= 'XML parsing error', $context=null, $offset=0)
 _extractContext ($context, $offset)
 getMessage ()

Detailed Description

Error class designed to handle errors involved with XML parsing.

Definition at line 113 of file WikiError.php.


Constructor & Destructor Documentation

WikiXmlError::__construct ( parser,
message = 'XML parsing error',
context = null,
offset = 0 
)
Parameters:
$parserresource
$messagestring
$context
$offsetInt
Deprecated:
since 1.17

Definition at line 122 of file WikiError.php.

References $parser, _extractContext(), getMessage(), wfDebug(), and wfDeprecated().


Member Function Documentation

WikiXmlError::_extractContext ( context,
offset 
)

Definition at line 145 of file WikiError.php.

Referenced by __construct().

Returns:
string

Reimplemented from WikiError.

Definition at line 135 of file WikiError.php.

References wfMessage().

Referenced by __construct().


The documentation for this class was generated from the following file: