nlopess Sun Apr 10 07:39:01 2005 EDT
Added files:
/phpdoc/en/reference/tidy/functions tidyNode-hasChildren.xml
tidyNode-hasSiblings.xml
tidyNode-isComment.xml
tidyNode-isHtml.xml
tidyNode-isJste.xml
tidyNode-isText.xml
Removed files:
/phpdoc/en/reference/tidy/functions tidy-node-hasChildren.xml
tidy-node-hasSiblings.xml
tidy-node-isComment.xml
tidy-node-isHtml.xml
tidy-node-isJste.xml
tidy-node-isText.xml
tidy-node-isXhtml.xml
tidy-node-isXml.xml
Modified files:
/phpdoc/en/reference/tidy reference.xml
Log:
remove some tidyNode functions that arent available
convert from tidy_node to tidyNode and add the 'new style' to the reference
page
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/reference.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/tidy/reference.xml
diff -u phpdoc/en/reference/tidy/reference.xml:1.7
phpdoc/en/reference/tidy/reference.xml:1.8
--- phpdoc/en/reference/tidy/reference.xml:1.7 Fri Dec 3 10:56:39 2004
+++ phpdoc/en/reference/tidy/reference.xml Sun Apr 10 07:39:01 2005
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc.
-->
<reference id="ref.tidy">
<title>Tidy Functions</title>
@@ -31,6 +31,81 @@
&no.resource;
</section>
+ <section id='tidy.classes'>
+ &reftitle.classes;
+
+ <section id='tidy.class.tidynode'>
+ <title><classname>tidyNode</classname></title>
+ <section id='tidy.class.tidynode.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><xref linkend='function.tidyNode-hasChildren' /> - Returns
&true; if the current node has childrens</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-hasSiblings' /> - Returns
&true; if the current node has siblings</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isAsp' /> - Returns &true; if
the current node is ASP code</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isComment' /> - Returns &true;
if the current node is a comment</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isHtml' /> - Returns &true; if
the current node is HTML</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isJste' /> - Returns &true; if
the current node is JSTE</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isPhp' /> - Returns &true; if
the current node is PHP</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend='function.tidyNode-isText' /> - Returns &true; if
the current node is Text (no markup)</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section id='tidy.class.tidynode.properties'>
+ &reftitle.properties;
+ <itemizedlist>
+ <listitem>
+ <para>value - the value of the node (e.g. the html text)</para>
+ </listitem>
+ <listitem>
+ <para>name - the name of the tag (e.g. html, a, etc..)</para>
+ </listitem>
+ <listitem>
+ <para>type - the type of the node (one of the constants above, e.g.
<constant>TIDY_NODETYPE_PHP</constant>)</para>
+ </listitem>
+ <listitem>
+ <para>line* - the line where the node starts</para>
+ </listitem>
+ <listitem>
+ <para>column* - the column where the node starts</para>
+ </listitem>
+ <listitem>
+ <para>proprietary* - &true; if the node refers to a proprietary
tag</para>
+ </listitem>
+ <listitem>
+ <para>id - the ID of the tag (one of the constants above, e.g.
<constant>TIDY_TAG_FRAME</constant>)</para>
+ </listitem>
+ <listitem>
+ <para>attribute - an array with the attributes of the current node, or
&null; if there aren't any</para>
+ </listitem>
+ <listitem>
+ <para>child - an array with the child <type>tidyNode</type>s, or
&null; if there aren't any</para>
+ </listitem>
+ </itemizedlist>
+ <note>
+ <para>
+ The properties marked with * are just available since PHP 5.1.0.
+ </para>
+ </note>
+ </section>
+ </section>
+ </section>
+
&reference.tidy.constants;
<section id="tidy.examples">
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-hasChildren.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-hasChildren.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-hasChildren.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-hasChildren">
<refnamediv>
<refname>tidyNode->hasChildren</refname>
<refpurpose>
Returns true if this node has children
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->hasChildren</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->has_children</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-hasSiblings.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-hasSiblings.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-hasSiblings.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-hasSiblings">
<refnamediv>
<refname>tidyNode->hasSiblings</refname>
<refpurpose>
Returns true if this node has siblings
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->hasSiblings</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->has_siblings</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-isComment.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-isComment.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-isComment.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-isComment">
<refnamediv>
<refname>tidyNode->isComment</refname>
<refpurpose>
Returns true if this node represents a comment
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->isComment</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->is_comment</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-isHtml.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-isHtml.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-isHtml.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-isHtml">
<refnamediv>
<refname>tidyNode->isHtml</refname>
<refpurpose>
Returns true if this node is part of a HTML document
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->isHtml</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->is_html</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-isJste.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-isJste.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-isJste.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-isJste">
<refnamediv>
<refname>tidyNode->isJste</refname>
<refpurpose>
Returns true if this node is JSTE
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->isJste</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->is_jste</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/tidy/functions/tidyNode-isText.xml?r=1.1&p=1
Index: phpdoc/en/reference/tidy/functions/tidyNode-isText.xml
+++ phpdoc/en/reference/tidy/functions/tidyNode-isText.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidyNode-isText">
<refnamediv>
<refname>tidyNode->isText</refname>
<refpurpose>
Returns true if this node represents text (no markup)
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>tidyNode->isText</methodname>
<void/>
</methodsynopsis>
&warn.undocumented.func;
<note>
<para>
This function was named <function>tidy_node->is_text</function> in
PHP 4/Tidy 1.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->