Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (12) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 9,106 This week: 2 | All time: 167 This week: 129![]() |
Version | License | PHP version | Categories | |||
cssparser 2.0.1 | GNU Lesser Genera... | 5 | HTML, Text processing, Parsers |
Description | Author | |
This class is able to parse CSS files making the properties available for examination and further processing. |
The cssparser is a small class that enables you to parse css information. The parsed css information can then be used in your application to fill your needs to use css information. Clear(); ======== Clears the current content. If the html property of the class is set to true then the propertylist is filled with standard html information. SetHTML($html); =============== Set how to handle standard html information with clear. Set to true to include html properties and false to exclude it. Add($key, $codestr); ==================== Add a new propertystring to th list. The key represents under which tag/id/class/subclass to store the information. The codestr is a string of css properties. Each property should be separated by a ;. Values should be separated from the propertynames by a :. Get($key, $property); ===================== Retreive the value of a property. GetSection($key); ================= Retreive all properties associated with the given key. ParseStr($str); =============== Parse a textstring that contains css information. Parse($filename); ================= Parse a file that contains css information. GetCSS(); ========= Returns a brute style css text compiled of the different properties. |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Lic. | License | ||
![]() ![]() |
Doc. | New readme file in markdown | ||
![]() ![]() |
Doc. | A simple documentation |
![]() |
/ | v1 |
File | Role | Description |
---|---|---|
![]() |
Class | Moved the old cssparser to the folder v1 and created a folder v2 with a new CSSParser. The new version is not backwards compatible with the old version. But I've decided to release it in the same package as the old one since it is such an improvement over the old code which was based on code made for PHP4 in 2003. |
![]() ![]() |
Example | Moved the old cssparser to the folder v1 and created a folder v2 with a new CSSParser. The new version is not backwards compatible with the old version. But I've decided to release it in the same package as the old one since it is such an improvement over the old code which was based on code made for PHP4 in 2003. |
![]() ![]() |
Data | Moved the old cssparser to the folder v1 and created a folder v2 with a new CSSParser. The new version is not backwards compatible with the old version. But I've decided to release it in the same package as the old one since it is such an improvement over the old code which was based on code made for PHP4 in 2003. |
![]() |
/ | v2 |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
Class | Moved the old cssparser to the folder v1 and created a folder v2 with a new CSSParser. The new version is not backwards compatible with the old version. But I've decided to release it in the same package as the old one since it is such an improvement over the old code which was based on code made for PHP4 in 2003. |
![]() |
/ | v2 | / | examples |
File | Role | Description |
---|---|---|
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
93% |
|
|
User Ratings | User Comments (6) | |||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Regulärer Ausdruck für CSS Parser gesucht Es kommt sehr darauf an, wie tief Du die Daten prüfen möchtest... |
Using php to dynamically generate conflict free css This little blog has been getting a lot of coverage lately thanks to a write up by Ajaxian... |
[Erledigt] Zugriff auf DOM, inkl. CSS Ich möchte für eine Plattform die Möglichkeit implementieren, Fotos über Twitter einzureichen... |