1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

50 Commits

Author SHA1 Message Date
Louis-Arnaud
7d5c74c9a5 Normalize DOM error sections to explicitly mention DOMException (#5261) 2026-03-02 22:32:36 +01:00
Derick Rethans
c1f37a6c27 Mark oop5 and xml* categories as 'interactive' (with exceptions) and use 'examples/' dir for XML example files so they (will) work with WASM 2025-03-06 14:35:36 +00:00
Máté Kocsis
d75a541187 Synchronize manual with stubs for PHP 8.4 - part 5 (#4206)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-11-30 21:21:21 +01:00
Niels Dossche
f1516b33ab Document compareDocumentPosition & related constants (#4081)
* Document DOMNode::DOCUMENT_POSITION_* class constants

* Document DOMNode::compareDocumentPosition()

* Update reference/dom/domnode/compareDocumentPosition.xml

Co-authored-by: Gina Peter Banyard <girgias@php.net>

---------

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-11-17 22:02:32 +01:00
Niels Dossche
6f103ee118 Fix incorrect constant referencing of DOM_NOT_FOUND_ERR (#3411) 2024-05-25 13:25:42 +02:00
Mikhail Alferov
ad24f447d8 c14n.xml: amend new-code (#3375) 2024-05-13 23:30:52 +01:00
Niels Dossche
2a72c95c0a Clarify XPath usage in DOMNode::C14N(File) (#3374)
* Clarify XPath usage in DOMNode::C14N(File)

* Use simpara
2024-05-11 18:19:18 +02:00
Máté Kocsis
d715365c09 Sync some methodsynopses with stubs (#3199)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-04-16 13:02:43 +02:00
Niels Dossche
eaf26c34fd Clarify DOMNode::getLineNo() (#3032) 2023-12-23 10:23:56 +00:00
Sergey Panteleev
cdbee08c73 Fix examples section for new DOM methods 2023-11-07 19:47:25 +03:00
Sergey Panteleev
a4537eba5f [PHP 8.3] New DOM methods (#2922)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2023-11-07 16:05:04 +00:00
John Paul E. Balandan, CPA
b3ea8eaa2b Update docs for DOMNode::lookupNamespaceURI() (#2573) 2023-07-26 13:58:09 +01:00
othercorey
bc83b0a2f2 Add DOMNode::appendChild() return false description (#2341) 2023-03-08 15:46:19 +00:00
othercorey
d02743bd7e Add DOMNode::removeChild() return false description (#2340) 2023-03-08 15:45:59 +00:00
othercorey
7a4c5cb110 Add DOMNode::lookupPrefix() return null description (#2339) 2023-03-08 15:45:32 +00:00
othercorey
e574835356 Add DOMNode::insertBefore() return false description (#2338) 2023-03-08 15:45:13 +00:00
Máté Kocsis
4f5e2b2257 Update ext/dom role attributes (#1973)
Based on php/php-src#9901
2022-12-11 20:46:43 +01:00
Sergey Panteleev
6a3090c77d [PHP 8.0] Add new DOM interfaces (#1025)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-01-11 15:10:41 +03:00
Sergey Panteleev
3eaa74fd7d Fix issues in Dom directory
Part of #658
2021-06-09 12:21:46 +03:00
Máté Kocsis
926842882d Generate dom methodsynopses based on stubs 2021-01-02 16:32:41 +01:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
6efef65e17 Added note about existing nodes being moved in the dom
Based on a patch contributed by Pieter Hordijk <info@pieterhordijk.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351088 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 16:19:02 +00:00
Jakub Vrana
5c3a8c085f Fix letter-case based on the actual method names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343918 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 11:59:47 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christian Weiske
55697d5c8e Add example how to add nested children.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343366 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-05 14:05:13 +00:00
Peter Cowburn
bdfd7b3173 Use newnode parameter name
-- 
Patch by Pasindu (ppasindud@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336566 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-17 14:43:01 +00:00
Jakub Vrana
e211ec6c8b Clarify what normalization is
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332130 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 05:29:21 +00:00
Joe Watkins
b3d14d38c0 fix for #65771, removed old misleading information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331645 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-02 19:41:44 +00:00
Jakub Vrana
fb0a435e08 Link appendChild and insertBefore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330442 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-04 18:28:57 +00:00
Yannick Torres
8ef6cf9b7c Fix some literal tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324735 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-03 08:12:03 +00:00
Jakub Vrana
df6729325e Methods visibility
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322382 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-17 08:22:44 +00:00
Justin Martin
7327e13a84 Documented C14N and C14NFile methods of DOMNode. Closes bug #54220.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320554 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-07 04:43:04 +00:00
Peter Cowburn
d619bb8e5e document DOMNode::getNodePath()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318622 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-31 22:59:44 +00:00
Shein Alexey
ef36499bb5 Fixed a typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316324 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-07 10:38:23 +00:00
Nikita Popov
2a694f7ee8 Fix doc bug #55381 "Incorrect spelling"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314896 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-14 10:18:59 +00:00
Peter Cowburn
59da669eab grammar (have to has)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313698 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-26 08:52:03 +00:00
Kalle Sommer Nielsen
29ab385baf Fixed bug #53083 (DOMNode::removeChild() resets the namespaceURI value)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304621 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 14:08:30 +00:00
Daniel Egeberg
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Richard Quadling
30bcabf9fa W/S tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294380 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 13:24:08 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
60a56a84a1 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283806 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:52:11 +00:00
Damien Seguy
76e4b9cefc fix spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283340 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-02 13:49:37 +00:00
Kalle Sommer Nielsen
e2959e6326 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282949 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-28 16:08:58 +00:00
Kalle Sommer Nielsen
40182f6a9b Documented DOMNode::getLineNo()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282948 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-28 16:07:04 +00:00
Nilgün Belma Bugüner
353206d9d1 Changed <xref linkend="... to <methodname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281836 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-08 21:01:23 +00:00
Hannes Magnusson
84e1839799 MFB: Upgrade to the new-oo-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248357 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-16 13:18:08 +00:00
Hannes Magnusson
64e45fe7d6 Rename files according to the new-oo-style
# Note: This is pure renaming, no content, markup or ID changes at all


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248353 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-16 13:02:21 +00:00