csstidy
[ class tree: csstidy ] [ index: csstidy ] [ all elements ]

Procedural File: css_parser.php

Source Location: /css_parser.php



Classes:

csstidy
CSS Parser class


Page Details:

CSSTidy - CSS Parser and Optimiser

CSS Parser class This class represents a CSS parser which reads CSS code and saves it in an array. In opposite to most other CSS parsers, it does not use regular expressions and thus has full CSS2 support and a higher reliability. Additional to that it applies some optimisations and fixes to the CSS code. An online version should be available here: http://cdburnerxp.se/cssparse/css_optimiser.php

This file is part of CSSTidy.

CSSTidy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

CSSTidy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CSSTidy; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA




Tags:

filesource:  Source Code for this file
author:  Florian Schmitz (floele at gmail dot com) 2005
license:  GNU Public License


Includes:

include('functions.inc.php') [line 46]
All functions which are not directly related to the parser class

Not required. If this file is not included, csstidy does without these functions.




Tags:

version:  1.2
require('data.inc.php') [line 38]
Various CSS data needed for correct optimisations etc.



Tags:

version:  1.2






Documentation generated on Fri, 3 Feb 2006 16:21:10 +0100 by phpDocumentor 1.3.0RC3