<html>
<head>
<title>Element Index</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="li_csstidy.html">csstidy</a><br />
<br /><br />
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<a name="top"></a>
<h1>Index of all elements</h1>
[ <a href="elementindex.html#a">a</a> ]
[ <a href="elementindex.html#c">c</a> ]
[ <a href="elementindex.html#d">d</a> ]
[ <a href="elementindex.html#e">e</a> ]
[ <a href="elementindex.html#f">f</a> ]
[ <a href="elementindex.html#g">g</a> ]
[ <a href="elementindex.html#h">h</a> ]
[ <a href="elementindex.html#i">i</a> ]
[ <a href="elementindex.html#l">l</a> ]
[ <a href="elementindex.html#m">m</a> ]
[ <a href="elementindex.html#n">n</a> ]
[ <a href="elementindex.html#o">o</a> ]
[ <a href="elementindex.html#"></a> ]
[ <a href="elementindex.html#s">s</a> ]
[ <a href="elementindex.html#t">t</a> ]
[ <a href="elementindex.html#u">u</a> ]
<hr />
<a name="a"></a>
<div>
<h2>a</h2>
<dl>
<dt><b>$added</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$added">csstidy::$added</a><br> =true if something has been added to the current selector</dd>
<dt><b>$at</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$at">csstidy::$at</a><br> Saves the current at rule (@media)</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="c"></a>
<div>
<h2>c</h2>
<dl>
<dt><b>$charset</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$charset">csstidy::$charset</a><br> Saves the CSS charset (@charset)</dd>
<dt><b>$comments</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$comments">csstidy::$comments</a><br> Stores comments</dd>
<dt><b>$comment_from</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$comment_from">csstidy::$comment_from</a><br> Status where the comment has been started</dd>
<dt><b>$css</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$css">csstidy::$css</a><br> Saves the parsed CSS</dd>
<dt><b>compress_numbers</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functioncompress_numbers">compress_numbers()</a><br> Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )</dd>
<dt><b>csstidy</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodcsstidy">csstidy::csstidy()</a><br> Loads standard template and sets default settings</dd>
<dt><b>csstidy</b></dt>
<dd>in file css_parser.php, class <a href="csstidy/csstidy.html">csstidy</a><br> CSS Parser class</dd>
<dt><b>css_add_property</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodcss_add_property">csstidy::css_add_property()</a><br> Adds a property with value to the existing CSS code</dd>
<dt><b>css_parser.php</b></dt>
<dd>procedural page <a href="csstidy/_css_parser_php.html">css_parser.php</a></dd>
<dt><b>cut_color</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functioncut_color">cut_color()</a><br> Color compression function. Converts all rgb() values to #-values and uses the short-form if possible. Also replaces 4 color names by #-values.</dd>
<dt><b>c_font_weight</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodc_font_weight">csstidy::c_font_weight()</a><br> Compresses font-weight (not very effective but anyway :-p )</dd>
<dt><b>c_important</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodc_important">csstidy::c_important()</a><br> Removes unnecessary whitespace in ! important</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="d"></a>
<div>
<h2>d</h2>
<dl>
<dt><b>data.inc.php</b></dt>
<dd>procedural page <a href="csstidy/_data_inc_php.html">data.inc.php</a></dd>
<dt><b>dissolve_4value_shorthands</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functiondissolve_4value_shorthands">dissolve_4value_shorthands()</a><br> Dissolves properties like padding:10px 10px 10px to padding-top:10px;padding-bottom:10px;...</dd>
<dt><b>dissolve_short_bg</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functiondissolve_short_bg">dissolve_short_bg()</a><br> Dissolve background property</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="e"></a>
<div>
<h2>e</h2>
<dl>
<dt><b>escaped</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodescaped">csstidy::escaped()</a><br> Checks if a character is escaped (and returns true if it is)</dd>
<dt><b>explode_selectors</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodexplode_selectors">csstidy::explode_selectors()</a><br> Explodes selectors</dd>
<dt><b>explode_ws</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functionexplode_ws">explode_ws()</a><br> Explodes a string as explode() does, however, not if $sep is escaped or within a string.</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="f"></a>
<div>
<h2>f</h2>
<dl>
<dt><b>functions.inc.php</b></dt>
<dd>procedural page <a href="csstidy/_functions_inc_php.html">functions.inc.php</a></dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="g"></a>
<div>
<h2>g</h2>
<dl>
<dt><b>$GLOBALS['csstidy']['all_properties']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['all_properties']">$GLOBALS['csstidy']['all_properties']</a><br> All CSS Properties. Needed for csstidy::property_is_next()</dd>
<dt><b>$GLOBALS['csstidy']['at_rules']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['at_rules']">$GLOBALS['csstidy']['at_rules']</a><br> Available at-rules</dd>
<dt><b>$GLOBALS['csstidy']['background_prop_default']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['background_prop_default']">$GLOBALS['csstidy']['background_prop_default']</a><br> Default values for the background properties</dd>
<dt><b>$GLOBALS['csstidy']['color_values']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['color_values']">$GLOBALS['csstidy']['color_values']</a><br> Properties that allow <color> as value</dd>
<dt><b>$GLOBALS['csstidy']['number_values']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['number_values']">$GLOBALS['csstidy']['number_values']</a><br> Properties that allow <number> as value</dd>
<dt><b>$GLOBALS['csstidy']['predefined_templates']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['predefined_templates']">$GLOBALS['csstidy']['predefined_templates']</a><br> An array containing all predefined templates.</dd>
<dt><b>$GLOBALS['csstidy']['replace_colors']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['replace_colors']">$GLOBALS['csstidy']['replace_colors']</a><br> A list of non-W3C color names which get replaced by their hex-codes</dd>
<dt><b>$GLOBALS['csstidy']['shorthands']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['shorthands']">$GLOBALS['csstidy']['shorthands']</a><br> A list of all shorthand properties that are devided into four properties and/or have four subvalues</dd>
<dt><b>$GLOBALS['csstidy']['tokens']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['tokens']">$GLOBALS['csstidy']['tokens']</a><br> All CSS tokens used by csstidy</dd>
<dt><b>$GLOBALS['csstidy']['units']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['units']">$GLOBALS['csstidy']['units']</a><br> All CSS units (CSS 3 units included)</dd>
<dt><b>$GLOBALS['csstidy']['whitespace']</b></dt>
<dd>in file data.inc.php, global variable <a href="csstidy/_data_inc_php.html#global$GLOBALS['csstidy']['whitespace']">$GLOBALS['csstidy']['whitespace']</a><br> All whitespace allowed in CSS</dd>
<dt><b>get_cfg</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodget_cfg">csstidy::get_cfg()</a><br> Get the value of a setting.</dd>
<dt><b>get_diff</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodget_diff">csstidy::get_diff()</a><br> Get difference between the old and new code in bytes and prints the code if necessary.</dd>
<dt><b>get_ratio</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodget_ratio">csstidy::get_ratio()</a><br> Get compression ratio and prints the code if necessary.</dd>
<dt><b>gvw_important</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodgvw_important">csstidy::gvw_important()</a><br> Returns a value without !important</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="h"></a>
<div>
<h2>h</h2>
<dl>
<dt><b>htmlsp</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodhtmlsp">csstidy::htmlsp()</a><br> Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="i"></a>
<div>
<h2>i</h2>
<dl>
<dt><b>$import</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$import">csstidy::$import</a><br> Saves all @import URLs</dd>
<dt><b>$input_css</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$input_css">csstidy::$input_css</a><br> Saves the input CSS string</dd>
<dt><b>$invalid_at</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$invalid_at">csstidy::$invalid_at</a><br> =true if in invalid at-rule</dd>
<dt><b>is_important</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodis_important">csstidy::is_important()</a><br> Checks if $value is !important.</dd>
<dt><b>is_token</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodis_token">csstidy::is_token()</a><br> Checks if there is a token at the current position</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="l"></a>
<div>
<h2>l</h2>
<dl>
<dt><b>$line</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$line">csstidy::$line</a><br> Saves the line number</dd>
<dt><b>$log</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$log">csstidy::$log</a><br> Array which saves the message log</dd>
<dt><b>load_template</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodload_template">csstidy::load_template()</a><br> Loads a new template</dd>
<dt><b>log</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodlog">csstidy::log()</a><br> Add a message to the message log</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="m"></a>
<div>
<h2>m</h2>
<dl>
<dt><b>merge_4value_shorthands</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functionmerge_4value_shorthands">merge_4value_shorthands()</a><br> Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()</dd>
<dt><b>merge_bg</b></dt>
<dd>in file functions.inc.php, function <a href="csstidy/_functions_inc_php.html#functionmerge_bg">merge_bg()</a><br> Merges all background properties</dd>
<dt><b>merge_css_blocks</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodmerge_css_blocks">csstidy::merge_css_blocks()</a><br> Adds CSS to an existing media/selector</dd>
<dt><b>merge_selectors</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodmerge_selectors">csstidy::merge_selectors()</a><br> 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.</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="n"></a>
<div>
<h2>n</h2>
<dl>
<dt><b>$namespace</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$namespace">csstidy::$namespace</a><br> Saves the namespace</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="o"></a>
<div>
<h2>o</h2>
<dl>
<dt><b>$output_css</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$output_css">csstidy::$output_css</a><br> Saves the formatted CSS string</dd>
<dt><b>$output_css_plain</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$output_css_plain">csstidy::$output_css_plain</a><br> Saves the formatted CSS string (plain text)</dd>
<dt><b>optimise_add_subvalue</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodoptimise_add_subvalue">csstidy::optimise_add_subvalue()</a><br> Optimises a sub-value and adds it to sub_value_arr</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="p"></a>
<div>
<h2>p</h2>
<dl>
<dt><b>$property</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$property">csstidy::$property</a><br> Saves the current property</dd>
<dt><b>parse</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodparse">csstidy::parse()</a><br> Parses CSS in $string. The code is saved as array in $this->css</dd>
<dt><b>parse_from_url</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodparse_from_url">csstidy::parse_from_url()</a><br> Starts parsing from URL</dd>
<dt><b>print_code</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodprint_code">csstidy::print_code()</a><br> Returns the formatted CSS Code and saves it into $this->output_css</dd>
<dt><b>property_is_next</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodproperty_is_next">csstidy::property_is_next()</a><br> Checks if the next word in a string from pos is a CSS property</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="s"></a>
<div>
<h2>s</h2>
<dl>
<dt><b>$selector</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$selector">csstidy::$selector</a><br> Saves the current selector</dd>
<dt><b>$sel_seperate</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$sel_seperate">csstidy::$sel_seperate</a><br> Saves the position of , in selectors</dd>
<dt><b>$settings</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$settings">csstidy::$settings</a><br> Stores the settings</dd>
<dt><b>$status</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$status">csstidy::$status</a><br> Saves the parser-status.</dd>
<dt><b>$str_char</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$str_char">csstidy::$str_char</a><br> Saves the char which opened the last string</dd>
<dt><b>$str_from</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$str_from">csstidy::$str_from</a><br> Status where the string has been started (is or iv)</dd>
<dt><b>$str_in_str</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$str_in_str">csstidy::$str_in_str</a><br> Variable needed to manage string-in-strings, for example url("foo.png")</dd>
<dt><b>$sub_value</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$sub_value">csstidy::$sub_value</a><br> Saves the current sub-value</dd>
<dt><b>$sub_value_arr</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$sub_value_arr">csstidy::$sub_value_arr</a><br> Array which saves all subvalues for a property.</dd>
<dt><b>set_cfg</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodset_cfg">csstidy::set_cfg()</a><br> Set the value of a setting.</dd>
<dt><b>shorthand</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodshorthand">csstidy::shorthand()</a><br> Compresses shorthand values. Example: margin:1px 1px 1px 1px -> margin:1px</dd>
<dt><b>size</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodsize">csstidy::size()</a><br> Get the size of either input or output CSS in KB</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="t"></a>
<div>
<h2>t</h2>
<dl>
<dt><b>$template</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$template">csstidy::$template</a><br> Saves the templates</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="u"></a>
<div>
<h2>u</h2>
<dl>
<dt><b>unicode</b></dt>
<dd>in file css_parser.php, method <a href="csstidy/csstidy.html#methodunicode">csstidy::unicode()</a><br> Parse unicode notations and find a replacement character</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<hr />
<a name="v"></a>
<div>
<h2>v</h2>
<dl>
<dt><b>$value</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$value">csstidy::$value</a><br> Saves the current value</dd>
<dt><b>$version</b></dt>
<dd>in file css_parser.php, variable <a href="csstidy/csstidy.html#var$version">csstidy::$version</a><br> Contains the version of csstidy</dd>
</dl>
</div>
<a href="elementindex.html#top">top</a><br>
<div class="credit">
<hr />
Documentation generated on Fri, 3 Feb 2006 16:21:10 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>