#49746 [Opn->Ver]: searching for DOM Methodes does not work
| From: | bjori@php.net | Date: | Fri, 02 Oct 2009 12:38:17 +0000 |
| Subject: | #49746 [Opn->Ver]: searching for DOM Methodes does not work | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-6015@lists.php.net to get a copy of this message | ||
ID: 49746
Updated by: bjori@php.net
Reported By: bz at datenkueche dot com
-Status: Open
+Status: Verified
-Bug Type: Documentation problem
+Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
Interesting that it doesn't show up there in the search.
However. You can use php.net/classname.methodname
http://php.net/domelement.getelementsbytagname
for example works fine
Previous Comments:
------------------------------------------------------------------------
[2009-10-02 09:54:40] bz at datenkueche dot com
Description:
------------
I'm teaching PHP and we do many things with DOM.
When my students try to get the documentation for
"getElementsByTagName" at http://php.net they get
the PHP4 documentation for
"get_elements_by_tagname".
The php.net search does not know "getElementsByTagName".
My students are not stupid and I told them already how to dearch for
DOM PHP5 methods - but they still don't find it.
I already reported this documention bug some years ago but it was
marked as "not a bug".
The javascript syntax is nearly the same and I can direct my students
to selfhtml but makes not much sense.
Bernhard
Reproduce code:
---------------
http://de.php.net/manual-lookup.php?pattern=getElementsByTagName&lang=en
Expected result:
----------------
http://de.php.net/manual/en/domdocument.getelementsbytagname.php
Actual result:
--------------
http://de.php.net/manual/en/function.domelement-get-elements-by-tagname.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49746&edit=1