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

Element index for package csstidy

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ s ] [ t ] [ v ] [ _ ]

_

_add_token
in file class.csstidy.php, method csstidy::_add_token()
    Adds a token to $this->tokens
_convert_raw_css
in file class.csstidy_print.php, method csstidy_print::_convert_raw_css()
    Converts $this->css array to a raw array ($this->tokens)
_htmlsp
in file class.csstidy_print.php, method csstidy_print::_htmlsp()
    Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.
_print
in file class.csstidy_print.php, method csstidy_print::_print()
    Returns the formatted CSS Code and saves it into $this->output_css and $this->output_css_plain
_reset
in file class.csstidy_print.php, method csstidy_print::_reset()
    Resets output_css and output_css_plain (new css code)
_seeknocomment
in file class.csstidy_print.php, method csstidy_print::_seeknocomment()
    Gets the next token type which is $move away from $key, excluding comments
_unicode
in file class.csstidy.php, method csstidy::_unicode()
    Parse unicode notations and find a replacement character
top

a

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

c

$charset
in file class.csstidy.php, variable csstidy::$charset
    Saves the CSS charset (@charset)
$css
in file class.csstidy.php, variable csstidy::$css
    Saves the parsed CSS
class.csstidy_optimise.php
procedural page class.csstidy_optimise.php
class.csstidy.php
procedural page class.csstidy.php
class.csstidy_print.php
procedural page class.csstidy_print.php
COMMENT
in file data.inc.php, constant COMMENT
compress_important
in file class.csstidy_optimise.php, method csstidy_optimise::compress_important()
    Removes unnecessary whitespace in ! important
compress_numbers
in file class.csstidy_optimise.php, method csstidy_optimise::compress_numbers()
    Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )
csstidy
in file class.csstidy.php, method csstidy::csstidy()
    Loads standard template and sets default settings
csstidy
in file class.csstidy.php, class csstidy
    CSS Parser class
csstidy_optimise
in file class.csstidy_optimise.php, class csstidy_optimise
    CSS Optimising Class
csstidy_optimise
in file class.csstidy_optimise.php, method csstidy_optimise::csstidy_optimise()
    Constructor
csstidy_print
in file class.csstidy_print.php, method csstidy_print::csstidy_print()
    Constructor
csstidy_print
in file class.csstidy_print.php, class csstidy_print
    CSS Printing class
css_add_property
in file class.csstidy.php, method csstidy::css_add_property()
    Adds a property with value to the existing CSS code
cut_color
in file class.csstidy_optimise.php, method csstidy_optimise::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.
top

d

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

e

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

f

$from
in file class.csstidy.php, variable csstidy::$from
    Status from which the parser switched to ic or instr
formatted
in file class.csstidy_print.php, method csstidy_print::formatted()
    Returns the formatted CSS code
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 class.csstidy.php, method csstidy::get_cfg()
    Get the value of a setting.
get_diff
in file class.csstidy_print.php, method csstidy_print::get_diff()
    Get difference between the old and new code in bytes and prints the code if necessary.
get_ratio
in file class.csstidy_print.php, method csstidy_print::get_ratio()
    Get compression ratio
gvw_important
in file class.csstidy.php, method csstidy::gvw_important()
    Returns a value without !important
top

i

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

l

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

m

merge_4value_shorthands
in file class.csstidy_optimise.php, method csstidy_optimise::merge_4value_shorthands()
    Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()
merge_bg
in file class.csstidy_optimise.php, method csstidy_optimise::merge_bg()
    Merges all background properties
merge_css_blocks
in file class.csstidy.php, method csstidy::merge_css_blocks()
    Adds CSS to an existing media/selector
merge_selectors
in file class.csstidy_optimise.php, method csstidy_optimise::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 class.csstidy.php, variable csstidy::$namespace
    Saves the namespace
top

o

$optimise
in file class.csstidy.php, variable csstidy::$optimise
    Optimiser class
$output_css
in file class.csstidy_print.php, variable csstidy_print::$output_css
    Saves the formatted CSS string
$output_css_plain
in file class.csstidy_print.php, variable csstidy_print::$output_css_plain
    Saves the formatted CSS string (plain text)
top

p

$print
in file class.csstidy.php, variable csstidy::$print
    Printer class
$property
in file class.csstidy.php, variable csstidy::$property
    Saves the current property
parse
in file class.csstidy.php, method csstidy::parse()
    Parses CSS in $string. The code is saved as array in $this->css
parse_from_url
in file class.csstidy.php, method csstidy::parse_from_url()
    Starts parsing from URL
plain
in file class.csstidy_print.php, method csstidy_print::plain()
    Returns the CSS code as plain text
postparse
in file class.csstidy_optimise.php, method csstidy_optimise::postparse()
    Optimises $css after parsing
PROPERTY
in file data.inc.php, constant PROPERTY
property_is_next
in file class.csstidy.php, method csstidy::property_is_next()
    Checks if the next word in a string from pos is a CSS property
property_is_valid
in file class.csstidy.php, method csstidy::property_is_valid()
    Checks if a property is valid
top

s

$selector
in file class.csstidy.php, variable csstidy::$selector
    Saves the current selector
$sel_separate
in file class.csstidy.php, variable csstidy::$sel_separate
    Saves the position of , in selectors
$settings
in file class.csstidy.php, variable csstidy::$settings
    Stores the settings
$status
in file class.csstidy.php, variable csstidy::$status
    Saves the parser-status.
$str_char
in file class.csstidy.php, variable csstidy::$str_char
    Saves the char which opened the last string
$str_in_str
in file class.csstidy.php, variable csstidy::$str_in_str
    Variable needed to manage string-in-strings, for example url("foo.png")
$sub_value
in file class.csstidy.php, variable csstidy::$sub_value
    Saves the current sub-value
$sub_value_arr
in file class.csstidy.php, variable csstidy::$sub_value_arr
    Array which saves all subvalues for a property.
SEL_END
in file data.inc.php, constant SEL_END
SEL_START
in file data.inc.php, constant SEL_START
set_cfg
in file class.csstidy.php, method csstidy::set_cfg()
    Set the value of a setting.
shorthand
in file class.csstidy_optimise.php, method csstidy_optimise::shorthand()
    Compresses shorthand values. Example: margin:1px 1px 1px 1px -> margin:1px
shorthands
in file class.csstidy_optimise.php, method csstidy_optimise::shorthands()
    Optimises shorthands
size
in file class.csstidy_print.php, method csstidy_print::size()
    Get the size of either input or output CSS in KB
subvalue
in file class.csstidy_optimise.php, method csstidy_optimise::subvalue()
    Optimises a sub-value
top

t

$tokens
in file class.csstidy.php, variable csstidy::$tokens
    Saves the parsed CSS (raw)
top

v

$value
in file class.csstidy.php, variable csstidy::$value
    Saves the current value
$version
in file class.csstidy.php, variable csstidy::$version
    Contains the version of csstidy
VALUE
in file data.inc.php, constant VALUE
value
in file class.csstidy_optimise.php, method csstidy_optimise::value()
    Optimises values
top

Documentation generated on Mon, 15 May 2006 22:54:53 +0200 by phpDocumentor 1.3.0RC3