Login   Register  
PHP Classes
elePHPant
Icontem

CSS Query

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sam Shull  >  CSS Query  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSS Query
Base name: cssquery
Description: Get elements from an HTML page using CSS selectors
Related classes: , , , , , ,
Version: 1.0
PHP version: 5.0
License: MIT/X Consortium License
All time users: 1234 users
All time rank: 2570
Week users: 1 user
Week rank: 2419
 

  Author  
Picture of Sam Shull
Name: Sam Shull is available for providing paid consulting. Contact Sam Shull .
Packages: 9 Browse all classes by Sam Shull Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 36
All time rank: 40043 in United States United States
Week rank: 349 Up35 in United States United States Up
Innovation award
Innovation award
Nominee: 8x


  Detailed description  
This class can be used to get elements from an HTML document using CSS selectors similar to Xpath.

It can load an HTML document and perform queries for elements using CSS selectors as query parameters. The search may be applied to the whole document or just to a list of document elements.

The class returns an array of document elements as DOMNode objects that match the query.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
June 2009
Number 2

Prize: One subscription to the PDF edition of the PHP Architect magazine
CSS is a standard that allows you to assign style properties to elements in a page that match a given selector path to match elements by class or identifier.

This class provides a solution to search and extract page elements using the CSS selector path specification.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file CSSQuery_test.php Example An example of many selector uses
Accessible without login Plain text file CSSQuery.php Class The class file

Download all files: cssquery.tar.gz cssquery.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.