메소드 | 설명 | |
---|---|---|
__construct ( SimpleSaxParser $parser ) | Sets up the lexer with case insensitive matching and adds the HTML handlers. |
메소드 | 설명 | |
---|---|---|
addAttributeTokens ( ) | Matches attributes that are either single quoted, double quoted or unquoted. | |
addInTagTokens ( ) | Pattern matches to parse the inside of a tag including the attributes and their quoting. | |
addSkipping ( ) | The lexer has to skip certain sections such as server code, client code and styles. | |
addTag ( string $tag ) | Pattern matches to start and end a tag. | |
getParsedTags ( ) : array | List of parsed tags. Others are ignored. |
public __construct ( SimpleSaxParser $parser ) | ||
$parser | SimpleSaxParser | Handling strategy by reference. |
protected addAttributeTokens ( ) |
protected addInTagTokens ( ) |
protected addSkipping ( ) |
protected getParsedTags ( ) : array | ||
리턴 | array | List of searched for tags. |