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

Index of all elements

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ o ] [ ] [ s ] [ t ] [ u ]

a

$added
in file css_parser.php, variable csstidy::$added
    =true if something has been added to the current selector
$at
in file css_parser.php, variable csstidy::$at
    Saves the current at rule (@media)
top

c

$charset
in file css_parser.php, variable csstidy::$charset
    Saves the CSS charset (@charset)
$comments
in file css_parser.php, variable csstidy::$comments
    Stores comments
$comment_from
in file css_parser.php, variable csstidy::$comment_from
    Status where the comment has been started
$css
in file css_parser.php, variable csstidy::$css
    Saves the parsed CSS
compress_numbers
in file functions.inc.php, function compress_numbers()
    Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )
csstidy
in file css_parser.php, method csstidy::csstidy()
    Loads standard template and sets default settings
csstidy
in file css_parser.php, class csstidy
    CSS Parser class
css_add_property
in file css_parser.php, method csstidy::css_add_property()
    Adds a property with value to the existing CSS code
css_parser.php
procedural page css_parser.php
cut_color
in file functions.inc.php, function cut_color()
    Color compression function. Converts all rgb() values to #-values and uses the short-form if possible. Also replaces 4 color names by #-values.
c_font_weight
in file css_parser.php, method csstidy::c_font_weight()
    Compresses font-weight (not very effective but anyway :-p )
c_important
in file css_parser.php, method csstidy::c_important()
    Removes unnecessary whitespace in ! important
top

d

data.inc.php
procedural page data.inc.php
dissolve_4value_shorthands
in file functions.inc.php, function dissolve_4value_shorthands()
    Dissolves properties like padding:10px 10px 10px to padding-top:10px;padding-bottom:10px;...
dissolve_short_bg
in file functions.inc.php, function dissolve_short_bg()
    Dissolve background property
top

e

escaped
in file css_parser.php, method csstidy::escaped()
    Checks if a character is escaped (and returns true if it is)
explode_selectors
in file css_parser.php, method csstidy::explode_selectors()
    Explodes selectors
explode_ws
in file functions.inc.php, function explode_ws()
    Explodes a string as explode() does, however, not if $sep is escaped or within a string.
top

f

functions.inc.php
procedural page functions.inc.php
top

g

$GLOBALS['csstidy']['all_properties']
in file data.inc.php, global variable $GLOBALS['csstidy']['all_properties']
    All CSS Properties. Needed for csstidy::property_is_next()
$GLOBALS['csstidy']['at_rules']
in file data.inc.php, global variable $GLOBALS['csstidy']['at_rules']
    Available at-rules
$GLOBALS['csstidy']['background_prop_default']
in file data.inc.php, global variable $GLOBALS['csstidy']['background_prop_default']
    Default values for the background properties
$GLOBALS['csstidy']['color_values']
in file data.inc.php, global variable $GLOBALS['csstidy']['color_values']
    Properties that allow <color> as value
$GLOBALS['csstidy']['number_values']
in file data.inc.php, global variable $GLOBALS['csstidy']['number_values']
    Properties that allow <number> as value
$GLOBALS['csstidy']['predefined_templates']
in file data.inc.php, global variable $GLOBALS['csstidy']['predefined_templates']
    An array containing all predefined templates.
$GLOBALS['csstidy']['replace_colors']
in file data.inc.php, global variable $GLOBALS['csstidy']['replace_colors']
    A list of non-W3C color names which get replaced by their hex-codes
$GLOBALS['csstidy']['shorthands']
in file data.inc.php, global variable $GLOBALS['csstidy']['shorthands']
    A list of all shorthand properties that are devided into four properties and/or have four subvalues
$GLOBALS['csstidy']['tokens']
in file data.inc.php, global variable $GLOBALS['csstidy']['tokens']
    All CSS tokens used by csstidy
$GLOBALS['csstidy']['units']
in file data.inc.php, global variable $GLOBALS['csstidy']['units']
    All CSS units (CSS 3 units included)
$GLOBALS['csstidy']['whitespace']
in file data.inc.php, global variable $GLOBALS['csstidy']['whitespace']
    All whitespace allowed in CSS
get_cfg
in file css_parser.php, method csstidy::get_cfg()
    Get the value of a setting.
get_diff
in file css_parser.php, method csstidy::get_diff()
    Get difference between the old and new code in bytes and prints the code if necessary.
get_ratio
in file css_parser.php, method csstidy::get_ratio()
    Get compression ratio and prints the code if necessary.
gvw_important
in file css_parser.php, method csstidy::gvw_important()
    Returns a value without !important
top

h

htmlsp
in file css_parser.php, method csstidy::htmlsp()
    Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.
top

i

$import
in file css_parser.php, variable csstidy::$import
    Saves all @import URLs
$input_css
in file css_parser.php, variable csstidy::$input_css
    Saves the input CSS string
$invalid_at
in file css_parser.php, variable csstidy::$invalid_at
    =true if in invalid at-rule
is_important
in file css_parser.php, method csstidy::is_important()
    Checks if $value is !important.
is_token
in file css_parser.php, method csstidy::is_token()
    Checks if there is a token at the current position
top

l

$line
in file css_parser.php, variable csstidy::$line
    Saves the line number
$log
in file css_parser.php, variable csstidy::$log
    Array which saves the message log
load_template
in file css_parser.php, method csstidy::load_template()
    Loads a new template
log
in file css_parser.php, method csstidy::log()
    Add a message to the message log
top

m

merge_4value_shorthands
in file functions.inc.php, function merge_4value_shorthands()
    Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()
merge_bg
in file functions.inc.php, function merge_bg()
    Merges all background properties
merge_css_blocks
in file css_parser.php, method csstidy::merge_css_blocks()
    Adds CSS to an existing media/selector
merge_selectors
in file css_parser.php, method csstidy::merge_selectors()
    Merges selectors with same properties. Example: a{color:red} b{color:red} -> a,b{color:red} Very basic and has at least one bug. Hopefully there is a replacement soon.
top

n

$namespace
in file css_parser.php, variable csstidy::$namespace
    Saves the namespace
top

o

$output_css
in file css_parser.php, variable csstidy::$output_css
    Saves the formatted CSS string
$output_css_plain
in file css_parser.php, variable csstidy::$output_css_plain
    Saves the formatted CSS string (plain text)
optimise_add_subvalue
in file css_parser.php, method csstidy::optimise_add_subvalue()
    Optimises a sub-value and adds it to sub_value_arr
top

p

$property
in file css_parser.php, variable csstidy::$property
    Saves the current property
parse
in file css_parser.php, method csstidy::parse()
    Parses CSS in $string. The code is saved as array in $this->css
parse_from_url
in file css_parser.php, method csstidy::parse_from_url()
    Starts parsing from URL
print_code
in file css_parser.php, method csstidy::print_code()
    Returns the formatted CSS Code and saves it into $this->output_css
property_is_next
in file css_parser.php, method csstidy::property_is_next()
    Checks if the next word in a string from pos is a CSS property
top

s

$selector
in file css_parser.php, variable csstidy::$selector
    Saves the current selector
$sel_seperate
in file css_parser.php, variable csstidy::$sel_seperate
    Saves the position of , in selectors
$settings
in file css_parser.php, variable csstidy::$settings
    Stores the settings
$status
in file css_parser.php, variable csstidy::$status
    Saves the parser-status.
$str_char
in file css_parser.php, variable csstidy::$str_char
    Saves the char which opened the last string
$str_from
in file css_parser.php, variable csstidy::$str_from
    Status where the string has been started (is or iv)
$str_in_str
in file css_parser.php, variable csstidy::$str_in_str
    Variable needed to manage string-in-strings, for example url("foo.png")
$sub_value
in file css_parser.php, variable csstidy::$sub_value
    Saves the current sub-value
$sub_value_arr
in file css_parser.php, variable csstidy::$sub_value_arr
    Array which saves all subvalues for a property.
set_cfg
in file css_parser.php, method csstidy::set_cfg()
    Set the value of a setting.
shorthand
in file css_parser.php, method csstidy::shorthand()
    Compresses shorthand values. Example: margin:1px 1px 1px 1px -> margin:1px
size
in file css_parser.php, method csstidy::size()
    Get the size of either input or output CSS in KB
top

t

$template
in file css_parser.php, variable csstidy::$template
    Saves the templates
top

u

unicode
in file css_parser.php, method csstidy::unicode()
    Parse unicode notations and find a replacement character
top

v

$value
in file css_parser.php, variable csstidy::$value
    Saves the current value
$version
in file css_parser.php, variable csstidy::$version
    Contains the version of csstidy
top

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