Location: PHPKode > projects > Lithron > lithron-1.0.2/docs/manual/elementindex_csstidy.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

<head>
<title>phundament manual: Package csstidy Element Index</title>

<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<meta name="Author" content="Tobias Munk" />
<meta name="Subject" content="Web programming, PHP5 framework" />
<meta name="Language" content="en" />
<link rel="Shortcut Icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/media/style.css" />
<link rel="stylesheet" type="text/css" href="/media/manual.css" />
</head>
<body>
<div style="text-align:center" align="center" width="100%"><img src="/media/logo.png" style="margin: 15px 0 30px"></div>
<div id="page">
<div id="main">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="250" id="infobar">
      <b>Packages:</b><br />
              <a href="li_csstidy.html">csstidy</a><br />
              <a href="li_lithron.html">lithron</a><br />
            <br /><br />
                        <b>Classes:</b><br />
        <div class="package">
		    		<a href="csstidy/csstidy.html">csstidy</a><br />
	    		<a href="csstidy/csstidy_optimise.html">csstidy_optimise</a><br />
	    		<a href="csstidy/csstidy_print.html">csstidy_print</a><br />
	  </div>

                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0">
     <!-- <tr><td valign="top" align="center">
      <form type="get" action="/docs/manual/search.php">
      Keyword <input type="text" name="keyword" size="50" />
      <input type="submit" value="Search" />
      </form>
      </td></tr>-->
      <tr><td valign="top"><!-- content begin -->
<a name="top"></a>
<h1>Element index for package csstidy</h1>
	[ <a href="elementindex_csstidy.html#a">a</a> ]
	[ <a href="elementindex_csstidy.html#c">c</a> ]
	[ <a href="elementindex_csstidy.html#d">d</a> ]
	[ <a href="elementindex_csstidy.html#e">e</a> ]
	[ <a href="elementindex_csstidy.html#f">f</a> ]
	[ <a href="elementindex_csstidy.html#g">g</a> ]
	[ <a href="elementindex_csstidy.html#i">i</a> ]
	[ <a href="elementindex_csstidy.html#l">l</a> ]
	[ <a href="elementindex_csstidy.html#m">m</a> ]
	[ <a href="elementindex_csstidy.html#o">o</a> ]
	[ <a href="elementindex_csstidy.html#p">p</a> ]
	[ <a href="elementindex_csstidy.html#s">s</a> ]
	[ <a href="elementindex_csstidy.html#v">v</a> ]

  <hr />
	<a name="a"></a>
	<div>
		<h2>a</h2>
		<dl>
							<dt><b>AT_END</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineAT_END">AT_END</a></dd>
							<dt><b>AT_START</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineAT_START">AT_START</a></dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="c"></a>
	<div>
		<h2>c</h2>
		<dl>
							<dt><b>$css</b></dt>
				<dd>in file class.csstidy.php, variable <a href="csstidy/csstidy.html#var$css">csstidy::$css</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Saves the parsed CSS</dd>
							<dt><b>COMMENT</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineCOMMENT">COMMENT</a></dd>
							<dt><b>compress_important</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodcompress_important">csstidy_optimise::compress_important()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Removes unnecessary whitespace in ! important</dd>
							<dt><b>compress_numbers</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodcompress_numbers">csstidy_optimise::compress_numbers()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Compresses numbers (ie. 1.0 becomes 1 or 1.100 becomes 1.1 )</dd>
							<dt><b>csstidy</b></dt>
				<dd>in file class.csstidy.php, class <a href="csstidy/csstidy.html">csstidy</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CSS Parser class</dd>
							<dt><b>class.csstidy.php</b></dt>
				<dd>procedural page <a href="csstidy/_csstidy---class.csstidy.php.html">class.csstidy.php</a></dd>
							<dt><b>class.csstidy_optimise.php</b></dt>
				<dd>procedural page <a href="csstidy/_csstidy---class.csstidy_optimise.php.html">class.csstidy_optimise.php</a></dd>
							<dt><b>class.csstidy_print.php</b></dt>
				<dd>procedural page <a href="csstidy/_csstidy---class.csstidy_print.php.html">class.csstidy_print.php</a></dd>
							<dt><b>csstidy_optimise</b></dt>
				<dd>in file class.csstidy_optimise.php, class <a href="csstidy/csstidy_optimise.html">csstidy_optimise</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CSS Optimising Class</dd>
							<dt><b>csstidy_print</b></dt>
				<dd>in file class.csstidy_print.php, class <a href="csstidy/csstidy_print.html">csstidy_print</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CSS Printing class</dd>
							<dt><b>cut_color</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodcut_color">csstidy_optimise::cut_color()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Color compression function. Converts all rgb() values to #-values and uses the short-form if possible. Also replaces 4 color names by #-values.</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.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/_csstidy---data.inc.php.html">data.inc.php</a></dd>
							<dt><b>DEFAULT_AT</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineDEFAULT_AT">DEFAULT_AT</a></dd>
							<dt><b>dissolve_4value_shorthands</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methoddissolve_4value_shorthands">csstidy_optimise::dissolve_4value_shorthands()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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 class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methoddissolve_short_bg">csstidy_optimise::dissolve_short_bg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Dissolve background property</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="e"></a>
	<div>
		<h2>e</h2>
		<dl>
							<dt><b>escaped</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodescaped">csstidy::escaped()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if a character is escaped (and returns true if it is)</dd>
							<dt><b>explode_ws</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodexplode_ws">csstidy_optimise::explode_ws()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Explodes a string as explode() does, however, not if $sep is escaped or within a string.</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="f"></a>
	<div>
		<h2>f</h2>
		<dl>
							<dt><b>formatted</b></dt>
				<dd>in file class.csstidy_print.php, method <a href="csstidy/csstidy_print.html#methodformatted">csstidy_print::formatted()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the formatted CSS code</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['all_properties']">$GLOBALS['csstidy']['all_properties']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['at_rules']">$GLOBALS['csstidy']['at_rules']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Available at-rules</dd>
							<dt><b>$GLOBALS['csstidy']['background_prop_default']</b></dt>
				<dd>in file data.inc.php, global variable <a href="csstidy/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['background_prop_default']">$GLOBALS['csstidy']['background_prop_default']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['color_values']">$GLOBALS['csstidy']['color_values']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Properties that allow &lt;color&gt; as value</dd>
							<dt><b>$GLOBALS['csstidy']['number_values']</b></dt>
				<dd>in file data.inc.php, global variable <a href="csstidy/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['number_values']">$GLOBALS['csstidy']['number_values']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Properties that allow &lt;number&gt; as value</dd>
							<dt><b>$GLOBALS['csstidy']['predefined_templates']</b></dt>
				<dd>in file data.inc.php, global variable <a href="csstidy/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['predefined_templates']">$GLOBALS['csstidy']['predefined_templates']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['replace_colors']">$GLOBALS['csstidy']['replace_colors']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['shorthands']">$GLOBALS['csstidy']['shorthands']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['tokens']">$GLOBALS['csstidy']['tokens']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['units']">$GLOBALS['csstidy']['units']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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/_csstidy---data.inc.php.html#global$GLOBALS['csstidy']['whitespace']">$GLOBALS['csstidy']['whitespace']</a><br>&nbsp;&nbsp;&nbsp;&nbsp;All whitespace allowed in CSS</dd>
							<dt><b>get_cfg</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodget_cfg">csstidy::get_cfg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get the value of a setting.</dd>
							<dt><b>get_diff</b></dt>
				<dd>in file class.csstidy_print.php, method <a href="csstidy/csstidy_print.html#methodget_diff">csstidy_print::get_diff()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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 class.csstidy_print.php, method <a href="csstidy/csstidy_print.html#methodget_ratio">csstidy_print::get_ratio()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get compression ratio</dd>
							<dt><b>gvw_important</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodgvw_important">csstidy::gvw_important()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns a value without !important</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="i"></a>
	<div>
		<h2>i</h2>
		<dl>
							<dt><b>is_important</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodis_important">csstidy::is_important()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if $value is !important.</dd>
							<dt><b>is_token</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodis_token">csstidy::is_token()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if there is a token at the current position</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="l"></a>
	<div>
		<h2>l</h2>
		<dl>
							<dt><b>load_template</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodload_template">csstidy::load_template()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Loads a new template</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.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 class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodmerge_4value_shorthands">csstidy_optimise::merge_4value_shorthands()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Merges Shorthand properties again, the opposite of dissolve_4value_shorthands()</dd>
							<dt><b>merge_bg</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodmerge_bg">csstidy_optimise::merge_bg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Merges all background properties</dd>
							<dt><b>merge_selectors</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodmerge_selectors">csstidy_optimise::merge_selectors()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Merges selectors with same properties. Example: a{color:red} b{color:red} -&gt; a,b{color:red}  Very basic and has at least one bug. Hopefully there is a replacement soon.</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="o"></a>
	<div>
		<h2>o</h2>
		<dl>
							<dt><b>$output_css</b></dt>
				<dd>in file class.csstidy_print.php, variable <a href="csstidy/csstidy_print.html#var$output_css">csstidy_print::$output_css</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Saves the formatted CSS string</dd>
							<dt><b>$output_css_plain</b></dt>
				<dd>in file class.csstidy_print.php, variable <a href="csstidy/csstidy_print.html#var$output_css_plain">csstidy_print::$output_css_plain</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Saves the formatted CSS string (plain text)</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="p"></a>
	<div>
		<h2>p</h2>
		<dl>
							<dt><b>$print</b></dt>
				<dd>in file class.csstidy.php, variable <a href="csstidy/csstidy.html#var$print">csstidy::$print</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Printer class</dd>
							<dt><b>parse</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodparse">csstidy::parse()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Parses CSS in $string. The code is saved as array in $this-&gt;css</dd>
							<dt><b>parse_from_url</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodparse_from_url">csstidy::parse_from_url()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Starts parsing from URL</dd>
							<dt><b>plain</b></dt>
				<dd>in file class.csstidy_print.php, method <a href="csstidy/csstidy_print.html#methodplain">csstidy_print::plain()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the CSS code as plain text</dd>
							<dt><b>postparse</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodpostparse">csstidy_optimise::postparse()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Optimises $css after parsing</dd>
							<dt><b>PROPERTY</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#definePROPERTY">PROPERTY</a></dd>
							<dt><b>property_is_valid</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodproperty_is_valid">csstidy::property_is_valid()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checks if a property is valid</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="s"></a>
	<div>
		<h2>s</h2>
		<dl>
							<dt><b>SEL_END</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineSEL_END">SEL_END</a></dd>
							<dt><b>SEL_START</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineSEL_START">SEL_START</a></dd>
							<dt><b>set_cfg</b></dt>
				<dd>in file class.csstidy.php, method <a href="csstidy/csstidy.html#methodset_cfg">csstidy::set_cfg()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set the value of a setting.</dd>
							<dt><b>shorthand</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodshorthand">csstidy_optimise::shorthand()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Compresses shorthand values. Example: margin:1px 1px 1px 1px -&gt; margin:1px</dd>
							<dt><b>shorthands</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodshorthands">csstidy_optimise::shorthands()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Optimises shorthands</dd>
							<dt><b>size</b></dt>
				<dd>in file class.csstidy_print.php, method <a href="csstidy/csstidy_print.html#methodsize">csstidy_print::size()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get the size of either input or output CSS in KB</dd>
							<dt><b>subvalue</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodsubvalue">csstidy_optimise::subvalue()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Optimises a sub-value</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
  <hr />
	<a name="v"></a>
	<div>
		<h2>v</h2>
		<dl>
							<dt><b>VALUE</b></dt>
				<dd>in file data.inc.php, constant <a href="csstidy/_csstidy---data.inc.php.html#defineVALUE">VALUE</a></dd>
							<dt><b>value</b></dt>
				<dd>in file class.csstidy_optimise.php, method <a href="csstidy/csstidy_optimise.html#methodvalue">csstidy_optimise::value()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Optimises values</dd>
					</dl>
	</div>
	<a href="elementindex_csstidy.html#top">top</a><br>
      <!-- content end --></td></tr></table>
    </td>
  </tr>
</table>

</div><!-- main -->

<div id="footer">
  Copyright &copy; 2007 - <a title="diemeisterei" href="http://www.diemeisterei.de/">diemeisterei GmbH</a><br/>
  <a title="phundament" href="http://www.phundament.com/">phundament</a>
</div>

</div><!-- page -->

</body>
</html>
Return current item: Lithron