MediaWiki  REL1_19
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 _extractContext(), getMessage(), wfDebug(), and wfDeprecated().

Here is the call graph for this function:


Member Function Documentation

WikiXmlError::_extractContext ( context,
offset 
)

Definition at line 145 of file WikiError.php.

Referenced by __construct().

Here is the caller graph for this function:

Returns:
string

Reimplemented from WikiError.

Definition at line 135 of file WikiError.php.

References wfMsgHtml().

Referenced by __construct().

Here is the call graph for this function:

Here is the caller graph for this function:


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