cvs: peardoc /en/package/html/html-css api.xml
[email protected] ("Laurent Laville")
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <cvsfarell1198710257@cvsserver> |
farell Wed Dec 26 23:04:17 2007 UTC
Modified files:
/peardoc/en/package/html/html-css api.xml
Log:
should fix the refentry nesting problem
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-css/api.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/html/html-css/api.xml
diff -u peardoc/en/package/html/html-css/api.xml:1.3 peardoc/en/package/html/html-css/api.xml:1.4
--- peardoc/en/package/html/html-css/api.xml:1.3 Mon Dec 24 16:03:59 2007
+++ peardoc/en/package/html/html-css/api.xml Wed Dec 26 23:04:17 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.html.html-css.api">
<refnamediv>
<refname>API</refname>
@@ -9,13 +9,17 @@
<refsect1 id="package.html.html-css.api.init">
<title>Initialize parser/writer options</title>
<para>
- With the class constructor, you have ability to set many options :
+ With the <link linkend="package.html.html-css.html-css.html-css">class constructor</link>,
+ you have ability to set many options :
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">xhtml</emphasis> option
defines whether element selectors should be automatically lowercased.
- See also: <methodname>HTML_CSS::setXhtmlCompliance()</methodname>.
+ See also:
+ <link linkend="package.html.html-css.html-css.setxhtmlcompliance">
+ HTML_CSS::setXhtmlCompliance()
+ </link>.
</para>
</listitem>
<listitem>
@@ -29,28 +33,40 @@
<para>
<emphasis role="bold">filename</emphasis> option
allow to parse an external css file.
- See also: <methodname>HTML_CSS::parseFile()</methodname>.
+ See also:
+ <link linkend="package.html.html-css.html-css.parsefile">
+ HTML_CSS::parseFile()
+ </link>.
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">cache</emphasis> option
controls caching of the page.
- See also: <methodname>HTML_CSS::setCache()</methodname>.
+ See also:
+ <link linkend="package.html.html-css.html-css.setcache">
+ HTML_CSS::setCache()
+ </link>.
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">oneline</emphasis> option
defines whether to output all properties on one line.
- See also: <methodname>HTML_CSS::setSingleLineOutput()</methodname>.
+ See also:
+ <link linkend="package.html.html-css.html-css.setsinglelineoutput">
+ HTML_CSS::setSingleLineOutput()
+ </link>.
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">groupsfirst</emphasis> option
determines whether to output groups before elements.
- See also: <methodname>HTML_CSS::setOutputGroupsFirst()</methodname>.
+ See also:
+ <link linkend="package.html.html-css.html-css.setoutputgroupsfirst">
+ HTML_CSS::setOutputGroupsFirst()
+ </link>.
</para>
</listitem>
<listitem>
@@ -83,44 +99,63 @@
</para>
</tip>
</para>
- &package.html.html-css.html-css.html-css;
- &package.html.html-css.html-css.setxhtmlcompliance;
- &package.html.html-css.html-css.setcache;
- &package.html.html-css.html-css.setsinglelineoutput;
- &package.html.html-css.html-css.setoutputgroupsfirst;
</refsect1>
<refsect1 id="package.html.html-css.api.basic">
<title>Handle selector and property values</title>
<para>
Read and write single selector or even descendant selector is made easy with :
+ <link linkend="package.html.html-css.html-css.getstyle">
+ HTML_CSS::getStyle()
+ </link> and
+ <link linkend="package.html.html-css.html-css.setstyle">
+ HTML_CSS::setStyle()
+ </link>
</para>
- &package.html.html-css.html-css.getstyle;
- &package.html.html-css.html-css.setstyle;
</refsect1>
<refsect1 id="package.html.html-css.api.group">
<title>Grouping selectors</title>
<para>
The most advanced/complex functions are those which handle group of selectors
+ <link linkend="package.html.html-css.html-css.creategroup">
+ HTML_CSS::createGroup()
+ </link>,
+ <link linkend="package.html.html-css.html-css.unsetgroup">
+ HTML_CSS::unsetGroup()
+ </link>,
+ <link linkend="package.html.html-css.html-css.getgroupstyle">
+ HTML_CSS::getGroupStyle()
+ </link>,
+ <link linkend="package.html.html-css.html-css.setgroupstyle">
+ HTML_CSS::setGroupStyle()
+ </link>,
+ <link linkend="package.html.html-css.html-css.addgroupselector">
+ HTML_CSS::addGroupSelector()
+ </link>,
+ <link linkend="package.html.html-css.html-css.removegroupselector">
+ HTML_CSS::removeGroupSelector()
+ </link>,
+ <link linkend="package.html.html-css.html-css.setsamestyle">
+ HTML_CSS::setSameStyle()
+ </link>
</para>
- &package.html.html-css.html-css.creategroup;
- &package.html.html-css.html-css.unsetgroup;
- &package.html.html-css.html-css.getgroupstyle;
- &package.html.html-css.html-css.setgroupstyle;
- &package.html.html-css.html-css.addgroupselector;
- &package.html.html-css.html-css.removegroupselector;
- &package.html.html-css.html-css.setsamestyle;
</refsect1>
<refsect1 id="package.html.html-css.api.parse">
<title>Parsing data sources</title>
<para>
Handle data sources are so easy than just one call of these three methods :
+ <link linkend="package.html.html-css.html-css.parsestring">
+ HTML_CSS::parseString()
+ </link>,
+ <link linkend="package.html.html-css.html-css.parsefile">
+ HTML_CSS::parseFile()
+ </link>, and
+ <link linkend="package.html.html-css.html-css.parsedata">
+ HTML_CSS::parseData()
+ </link>
</para>
- &package.html.html-css.html-css.parsestring;
- &package.html.html-css.html-css.parsefile;
- &package.html.html-css.html-css.parsedata;
</refsect1>
<refsect1 id="package.html.html-css.api.output">
@@ -128,26 +163,42 @@
<para>
Send result directly to browser, send it to file or capture to a PHP variable,
you will certainly use one of them.
+ <link linkend="package.html.html-css.html-css.toarray">
+ HTML_CSS::toArray()
+ </link>,
+ <link linkend="package.html.html-css.html-css.toinline">
+ HTML_CSS::toInline()
+ </link>,
+ <link linkend="package.html.html-css.html-css.tofile">
+ HTML_CSS::toFile()
+ </link>,
+ <link linkend="package.html.html-css.html-css.tostring">
+ HTML_CSS::toString()
+ </link>,
+ <link linkend="package.html.html-css.html-css.display">
+ HTML_CSS::display()
+ </link>,
+ <link linkend="package.html.html-css.html-css.getcontentdisposition">
+ HTML_CSS::getContentDisposition()
+ </link>, and
+ <link linkend="package.html.html-css.html-css.setcontentdisposition">
+ HTML_CSS::setContentDisposition()
+ </link>
</para>
- &package.html.html-css.html-css.toarray;
- &package.html.html-css.html-css.toinline;
- &package.html.html-css.html-css.tofile;
- &package.html.html-css.html-css.tostring;
- &package.html.html-css.html-css.display;
- &package.html.html-css.html-css.getcontentdisposition;
- &package.html.html-css.html-css.setcontentdisposition;
</refsect1>
<refsect1 id="package.html.html-css.api.grep">
<title>Searching for selectors and/or properties</title>
<para>
Ability to find if a selector or a property (with perl-compatible pattern)
- is already defined.
+ is already defined with
+ <link linkend="package.html.html-css.html-css.grepstyle">
+ HTML_CSS::grepStyle()
+ </link>
<important>
<simpara>This function is available since version 1.1.0</simpara>
</important>
</para>
- &package.html.html-css.html-css.grepstyle;
</refsect1>
</refentry>