Class CssSelector

Description

CssSelector

Allow to navigate a DOM with CSS selector.

based on getElementsBySelector version 0.4 - Simon Willison, 2003-03-25 http://simon.incutio.com/archive/2003/03/25/getElementsBySelector

derived from sfDomCssSelector Id 3053 (Symfony version 1.0.2) - Fabien Potencier, 2006-12-16 http://www.symfony-project.com/api/symfony/util/sfDomCssSelector.html

Located in /extensions/dom_tester/css_selector.php (line 25)


	
			
Variable Summary
 mixed $dom
Method Summary
 CssSelector __construct ( $dom)
 void getElements ( $selector)
 void getElementsByTagName ( $nodes,  $tagName, [ $combinator = ' '])
 void getTexts ( $selector)
 void tokenize ( $selector)
 void tokenize_selectors ( $selector)
Variables
mixed $dom = null (line 26)
  • access: protected
Methods
Constructor __construct (line 28)
  • access: public
CssSelector __construct ( $dom)
  • $dom
getElements (line 44)
  • access: public
void getElements ( $selector)
  • $selector
getElementsByTagName (line 195)
  • access: protected
void getElementsByTagName ( $nodes,  $tagName, [ $combinator = ' '])
  • $nodes
  • $tagName
  • $combinator
getTexts (line 33)
  • access: public
void getTexts ( $selector)
  • $selector
tokenize (line 270)
  • access: protected
void tokenize ( $selector)
  • $selector
tokenize_selectors (line 239)
  • access: protected
void tokenize_selectors ( $selector)
  • $selector

Documentation generated on Sun, 31 Oct 2010 16:31:10 -0500 by phpDocumentor 1.4.3