Méthode |
Description |
|
__construct ( $escape = true ) |
|
|
__tostring ( ) |
|
|
current ( ) |
|
|
end ( ) |
|
|
get_end_offset ( ) : integer |
Get the offset of the last token in this HTMLTokenSet |
|
insert ( HTMLTokenset $set, $pos ) : Nothing |
Insert an HTMLTokenset before the given position |
|
key ( ) |
|
|
next ( ) |
|
|
offsetExists ( $offset ) |
ArrayAccess implementation |
|
offsetGet ( $offset ) |
|
|
offsetSet ( $offset, $value ) |
|
|
offsetUnset ( $offset ) |
|
|
replace_slice ( HTMLTokenSet $slice ) : nothing |
Replace a set of tokens in this HTMLTokenSet |
|
rewind ( ) |
Iterator implemetation: |
|
slice ( mixed $names, array $attr = null ) : array |
Fetch a section of the tokens, based on passed criteria |
|
token_to_string ( array $token, boolean $escape = true ) : string |
Convert a token to a string |
|
tokenize_replace ( string $source ) : HTMLTokenSet |
Replace a full set of tokens with new tokens. The tokens are replaced
in place as well as being returned |
|
trim_container ( ) : nothing |
Remove the first and last tokens from this HTMLTokenSet |
|
valid ( ) |
|
|