add tidynode::getparent

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229563 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2007-02-11 16:30:38 +00:00
parent 86dc7c2142
commit bd40a5960a
2 changed files with 54 additions and 2 deletions

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.tidynode-getparent">
<refnamediv>
<refname>tidyNode::getParent</refname>
<refpurpose>returns the parent node of the current node</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>tidyNode</type><methodname>tidyNode::getParent</methodname>
<void/>
</methodsynopsis>
<para>
Returns the parent node of the current node.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns a <type>tidyNode</type> if the node has a parent, or &null;
otherwise.
</para>
</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
-->

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- Purpose: basic.other -->
<!-- Membership: pecl, bundled, external -->
@ -42,7 +42,10 @@
&reftitle.methods;
<itemizedlist>
<listitem>
<para><xref linkend='function.tidyNode-hasChildren' /> - Returns &true; if the current node has childrens</para>
<para><xref linkend='function.tidynode-getparent' /> - Returns the parent of the current node</para>
</listitem>
<listitem>
<para><xref linkend='function.tidyNode-hasChildren' /> - Returns &true; if the current node has children</para>
</listitem>
<listitem>
<para><xref linkend='function.tidyNode-hasSiblings' /> - Returns &true; if the current node has siblings</para>