Public Member Functions | |
| __construct ($escape=true) | |
| __tostring () | |
| get_end_offset () | |
| slice ($names, array $attr=null) | |
| trim_container () | |
| replace_slice (HTMLTokenSet $slice) | |
| tokenize_replace ($source) | |
| insert (HTMLTokenset $set, $pos=0) | |
| rewind () | |
| current () | |
| key () | |
| next () | |
| valid () | |
| end () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Static Public Member Functions | |
| static | token_to_string (array $token, $escape=true) |
Public Attributes | |
| $escape | |
Protected Member Functions | |
| find_slice ($offset, $name, array $attr) | |
Protected Attributes | |
| $tokens = array() | |
| $sliceOffsetBegin = null | |
| $sliceOffsetLength = null | |
HTML Token Set (created by
Definition at line 10 of file htmltokenset.php.
| HTMLTokenSet::insert | ( | HTMLTokenset $ | set, | |
| $ | pos = 0 | |||
| ) |
Insert an HTMLTokenset before the given position
| HTMLTokenset | $set. The HTMLTokenset to insert | |
| <type> | $pos. The position to insert the HTMLTokenset before |
Definition at line 214 of file htmltokenset.php.
| HTMLTokenSet::slice | ( | $ | names, | |
| array $ | attr = null | |||
| ) |
Fetch a section of the tokens, based on passed criteria
Definition at line 93 of file htmltokenset.php.
1.7.1