-
-Class: csstidy
-Source Location: /class.csstidy.php
-
-
-
-
-
-
-
-CSS Parser class
-Author(s):
-
- - Florian Schmitz (floele at gmail dot com) 2005-2006
-
-
-
-
-
-
-
-Version:
-
-
-
- |
-
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-Class Details
-
-
-
-
-
-Class Variables
-
-
-
- $added = false
- [line 233]
- =true if something has been added to the current selector
- Tags:
-
-
-
-
-
-
-
- $at = ''
- [line 150]
- Saves the current at rule (@media)
- Tags:
-
-
-
-
-
-
-
- $charset = ''
- [line 98]
- Saves the CSS charset (@charset)
- Tags:
-
-
-
-
-
-
-
- $css = array()
- [line 68]
- Saves the parsed CSS
- Tags:
-
-
-
-
-
-
-
- $from = ''
- [line 212]
- Status from which the parser switched to ic or instr
- Tags:
-
-
-
-
-
-
-
- $import = array()
- [line 105]
- Saves all @import URLs
- Tags:
-
-
-
-
-
-
-
- $invalid_at = false
- [line 226]
- =true if in invalid at-rule
- Tags:
-
-
-
-
-
-
-
- $line = 1
- [line 247]
- Saves the line number
- Tags:
-
-
-
-
-
-
-
- $log = array()
- [line 240]
- Array which saves the message log
- Tags:
-
-
-
-
-
-
-
- $namespace = ''
- [line 112]
- Saves the namespace
- Tags:
-
-
-
-
-
-
-
- $optimise =
- [line 91]
- Optimiser class
- Tags:
-
-
-
-
-
-
-
- $print =
- [line 83]
- Printer class
- Tags:
-
-
-
-
-
-
-
- $property = ''
- [line 164]
- Saves the current property
- Tags:
-
-
-
-
-
-
-
- $selector = ''
- [line 157]
- Saves the current selector
- Tags:
-
-
-
-
-
-
-
- $sel_separate = array()
- [line 171]
- Saves the position of , in selectors
- Tags:
-
-
-
-
-
-
-
- $settings = array()
- [line 126]
- Stores the settings
- Tags:
-
-
-
-
-
-
-
- $status = 'is'
- [line 142]
- Saves the parser-status. Possible values: - is = in selector
- ip = in property
- iv = in value
- instr = in string (started at " or ' or ( )
- ic = in comment (ignore everything)
- at = in @-block
- Tags:
-
-
-
-
-
-
-
- $str_char = ''
- [line 205]
- Saves the char which opened the last string
- Tags:
-
-
-
-
-
-
-
- $str_in_str = false
- [line 219]
- Variable needed to manage string-in-strings, for example url("foo.png")
- Tags:
-
-
-
-
-
-
-
- $sub_value = ''
- [line 190]
- Saves the current sub-value Example for a subvalue: background:url(foo.png) red no-repeat; "url(foo.png)", "red", and "no-repeat" are subvalues, seperated by whitespace
- Tags:
-
-
-
-
-
-
-
- $sub_value_arr = array()
- [line 198]
- Array which saves all subvalues for a property.
- Tags:
-
-
-
-
-
-
-
- $tokens = array()
- [line 75]
- Saves the parsed CSS (raw)
- Tags:
-
-
-
-
-
-
-
- $value = ''
- [line 178]
- Saves the current value
- Tags:
-
-
-
-
-
-
-
- $version = '1.2'
- [line 119]
- Contains the version of csstidy
- Tags:
-
-
-
-
-
-
-
-
-
-Class Methods
-
-
-
-
- |