/XML_PullParser_Errors.inc

Description
Classes
Class Description
XML_PullParser_Errors Error processing class for XML_PullParser
Constants
XML_PullParser_ERROR_BAD_INTERNAL_ARRAY = 6 (line 41)
XML_PullParser_ERROR_BAD_PARAM = 5 (line 40)
XML_PullParser_ERROR_MISMATCHED_TAGS = 1 (line 36)
XML_PullParser_ERROR_NO_DATA = 2 (line 37)
XML_PullParser_ERROR_NO_DEFAULT_TOKEN = 3 (line 38)
XML_PullParser_ERROR_NO_TOKEN = 4 (line 39)
XML_PullParser_ERROR_NS_SUPPORT = 8 (line 43)
XML_PullParser_ERROR_SYSTEM = 0 (line 35)
XML_PullParser_ERROR_USER_DEFINED = 7 (line 42)
Functions
XML_PullParser_Errors_errMsg (line 141)

Returns the current error message

string XML_PullParser_Errors_errMsg ()
XML_PullParser_Errors_getUserDefined (line 114)

Returns a user defined error message

This method returns the error string associated with the XML_PullParser_Errors object passed in as a parameter

string XML_PullParser_Errors_getUserDefined (mixed $obj)
XML_PullParser_Errors_INI (line 129)

Sets all XML_PullParser_Errors to their original values

It's necessary to call this function only if you are creating more than one XML_PullParser object in your script; otherwise any error messages left over from a previous XML_PullParser object may still be in memory and, if so, will appear in the next trace.

void XML_PullParser_Errors_INI ()
XML_PullParser_Errors_Num (line 198)

Returns the current Error number

integer XML_PullParser_Errors_Num ()
XML_PullParser_Errors_Ref (line 183)

Returns an XML_PullParser_Errors object popped from an internal stack which holds all errors up to and including the last error.

It is used by XML_PullParser_Errors_Trace() to output the trace. Once the trace is done the stack is empty.

  • return: object
XML_PullParser_Errors XML_PullParser_Errors_Ref ()
XML_PullParser_Errors_Trace (line 153)

Prints out a trace of errors up to and including the current error

void XML_PullParser_Errors_Trace ()
XML_PullParser_Errors_userDefined (line 83)

Constructs a user-defined error message and returns an XML_PullParser_Errors object

  • return: object
XML_PullParser_Errors XML_PullParser_Errors_userDefined (string $msg)
  • string $msg: error string

Documentation generated on Thu, 07 Dec 2006 12:08:05 -0500 by phpDocumentor 1.3.0RC6