Detailed Description
Definition at line 120 of file page.php.
Member Function Documentation
Parsed data in tag form. The parsed tag is added to every open tag. Used for adding options to select fields only.
- Parameters:
-
Definition at line 303 of file page.php.
Any content fills all currently open tags unless it is part of an option tag.
- Parameters:
-
| string | $text | May include unparsed tags. private |
Definition at line 288 of file page.php.
Creates an empty page.
- Returns:
- SimplePage New unparsed page. protected
Definition at line 165 of file page.php.
Creates the parser used with the builder.
- Parameters:
-
- Returns:
- SimpleSaxParser Parser to generate events for the builder. protected
Definition at line 177 of file page.php.
Test to see if there are any open tags awaiting closure that match the tag name.
- Parameters:
-
- Returns:
- boolean True if any are still open. private
Definition at line 262 of file page.php.
Opens a tag for receiving content. Multiple tags will be receiving input at the same time.
- Parameters:
-
Definition at line 320 of file page.php.
Unparsed, but relevant data. The data is added to every open tag.
- Parameters:
-
| string | $text | May include unparsed tags. |
- Returns:
- boolean False on parse error. public
Reimplemented from SimpleSaxListener.
Definition at line 273 of file page.php.
End of element event.
- Parameters:
-
- Returns:
- boolean False on parse error. public
Reimplemented from SimpleSaxListener.
Definition at line 230 of file page.php.
Frees up any references so as to allow the PHP garbage collection from unset() to work. public
Definition at line 138 of file page.php.
Reads the raw content and send events into the page to be built.
- Parameters:
-
- Returns:
- SimplePage Newly parsed page. public
Definition at line 151 of file page.php.
Sets the builder up empty. public
Definition at line 129 of file page.php.
Start of element event. Opens a new tag.
- Parameters:
-
| string | $name | Element name. |
| hash | $attributes | Attributes without content are marked as true. |
- Returns:
- boolean False on parse error. public
Reimplemented from SimpleSaxListener.
Definition at line 190 of file page.php.
Field Documentation
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/simpletestlib/page.php