Detailed Description
Definition at line 474 of file xml.php.
Member Function Documentation
Content between start and end elements.
- Parameters:
-
| resource | $expat | Parser handle. |
| string | $text | Usually output messages. protected |
Definition at line 631 of file xml.php.
Sets up expat as the XML parser.
- Returns:
- resource Expat handle. protected
Definition at line 518 of file xml.php.
XML and Doctype handler. Discards all such content.
- Parameters:
-
| resource | $expat | Parser handle. |
| string | $default | Text of default content. protected |
Definition at line 644 of file xml.php.
End of element event.
- Parameters:
-
| resource | $expat | Parser handle. |
| string | $tag | Element name. protected |
Definition at line 597 of file xml.php.
Accessor for current test structure tag.
- Returns:
- NestedXmlTag The group, case or method tag being parsed. private
Definition at line 543 of file xml.php.
Ends a nesting tag.
- Returns:
- NestedXmlTag The group, case or method tag just finished. private
Definition at line 553 of file xml.php.
Opens a new test nesting level.
- Returns:
- NestedXmlTag The group, case or method tag to start. private
Definition at line 533 of file xml.php.
Handler for start of event element.
- Parameters:
-
| resource | $expat | Parser handle. |
| string | $tag | Element name. |
| hash | $attributes | Name value pairs. Attributes without content are marked as true. protected |
Definition at line 577 of file xml.php.
Parses a block of XML sending the results to the listener.
- Parameters:
-
| string | $chunk | Block of text to read. |
- Returns:
- boolean True if valid XML. public
Definition at line 504 of file xml.php.
Field Documentation
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/simpletestlib/xml.php