cvs: phpdoc /en/functions domxml.xml

From: Date: Mon, 16 Jul 2001 11:33:01 +0000
Subject: cvs: phpdoc /en/functions domxml.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969336261@lists.php.net to get a copy of this message
joey Mon Jul 16 07:33:01 2001 EDT Modified files: /phpdoc/en/functions domxml.xml Log: Correct the parameters to domxml_root. Note that it wants an object of class "Dom document". Add comment to example that domxml_root() is also valid. Shouldn't there be a second set of links into the domxml functions that calls them by their method names? Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.15 phpdoc/en/functions/domxml.xml:1.16 --- phpdoc/en/functions/domxml.xml:1.15 Sun Jul 8 09:01:18 2001 +++ phpdoc/en/functions/domxml.xml Mon Jul 16 07:33:01 2001 @@ -506,14 +506,14 @@ <funcsynopsis> <funcprototype> <funcdef>object <function>domxml_root</function></funcdef> - <paramdef>array <parameter>doc</parameter></paramdef> + <paramdef>object <parameter>doc</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> - Returns element node located at the root of a an DOM document. - There are actually other possible nodes like comments which are currently - disregarded. + <function>domxml_root</function> takes one argument, an object of class + "Dom document", and returns the root element node. There are actually + other possible nodes like comments which are currently disregarded. </para> <para> The following example returns just the element with name CHAPTER and @@ -550,6 +550,7 @@ } $root = $dom->root(); +/* or $root = domxml_root($dom); */ print_r($root); ?> </programlisting>

« previous php.doc (#969336261) next »