Moodle  2.2.1
http://www.collinsharper.com
SimpleHtmlLexer Class Reference
Inheritance diagram for SimpleHtmlLexer:
Collaboration diagram for SimpleHtmlLexer:

Public Member Functions

 SimpleHtmlLexer (&$parser)
 _getParsedTags ()
 _addSkipping ()
 _addTag ($tag)
 _addInTagTokens ()
 _addAttributeTokens ()

Detailed Description

Definition at line 450 of file parser.php.


Member Function Documentation

Matches attributes that are either single quoted, double quoted or unquoted. private

Definition at line 524 of file parser.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Pattern matches to parse the inside of a tag including the attributes and their quoting. private

Definition at line 511 of file parser.php.

Here is the call graph for this function:

Here is the caller graph for this function:

The lexer has to skip certain sections such as server code, client code and styles. private

Definition at line 484 of file parser.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_addTag ( tag)

Pattern matches to start and end a tag.

Parameters:
string$tagName of tag to scan for. private

Definition at line 501 of file parser.php.

Here is the call graph for this function:

Here is the caller graph for this function:

List of parsed tags. Others are ignored.

Returns:
array List of searched for tags. private

Definition at line 474 of file parser.php.

Here is the caller graph for this function:

SimpleHtmlLexer ( &$  parser)

Sets up the lexer with case insensitive matching and adds the HTML handlers.

Parameters:
SimpleSaxParser$parserHandling strategy by reference. public

Definition at line 459 of file parser.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations