Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

HTMLTokenSet Class Reference

List of all members.

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

Detailed Description

HTML Token Set (created by

See also:
HTMLTokenizer)

Definition at line 10 of file htmltokenset.php.


Member Function Documentation

HTMLTokenSet::insert ( HTMLTokenset $  set,
pos = 0 
)

Insert an HTMLTokenset before the given position

Parameters:
HTMLTokenset $set. The HTMLTokenset to insert
<type> $pos. The position to insert the HTMLTokenset before
Returns:
Nothing

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.


The documentation for this class was generated from the following file: