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

34 Commits

Author SHA1 Message Date
Juliette
3a5f432244 Clarify DomNode::$ownerDocument description
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2025-09-11 23:15:26 +02: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
4b6c8a5a94 Update changelog for DOMNode (#4121)
Includes missing 8.3 and 8.4 changes.

Closes GH-2893.

Co-authored-by: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= <kocsismate@woohoolabs.com>
2024-11-21 22:53:54 +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
haszi
89ae180a85 Replace _XXX with _* in constants (#3937)
Co-authored-by: haszi <haszika80@gmail.com>
2024-10-27 12:36:44 +00:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis
fa6a5829a0 Synchronize ext/dom class synopses with stubs based on PHP 8.3 changes (#2890)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2023-10-29 14:37:21 +00:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01: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
Tim Starling
2c4c528bf3 DOMNode::$prefix is not nullable
The fieldsynopsis above documents it as non-nullable, so don't say it can be null. Checking the source of dom_node_prefix_read(), it has always returned a string since the initial commit, it can't return null.

Closes GH-1923.
2022-10-31 10:56:03 +01:00
Máté Kocsis
c64a35e2b5 Generate ext/dom class synopses from stubs - part 1 (#1250) 2021-12-25 09:14:36 +01:00
Christoph M. Becker
afbe8ad5ba Fix GH-1205: Multiple undocumented BC in DOM extension 2021-12-15 12:52:26 +01:00
Sergey Panteleev
5fabd07880 Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Tiffany
b60ee4fd0c fix miscapitalization 2021-03-31 08:12:51 -05:00
Yoshinari Takaoka
dde024b52e fixed XPointer evaluation failed build warning.
Closes GH-308.
2021-01-08 01:22:23 +01:00
Máté Kocsis
926842882d Generate dom methodsynopses based on stubs 2021-01-02 16:32:41 +01:00
Christoph Michael Becker
24219de95d Fix #79273: Correctly document nullable properties on DOMDocument and DOMNode
Patch contributed by Benjamin Eberlei <kontakt@beberlei.de>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351078 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 11:04:58 +00:00
Peter Cowburn
460a630bde move dom note about utf-8 to language snippet
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-06 11:44:34 +00:00
Craig Duncan
8151a0863b Add clarification that DOMDocument::$ownerDocument is always null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346781 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 22:25:06 +00:00
Christoph Michael Becker
db3bfdd46e DOMElement::nodeValue does not conform to W3C specs (related to bug #70029)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337788 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-08 22:03:07 +00:00
Christoph Michael Becker
3b0a329280 DOMNode::textContent is writable as of PHP 5.6.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337112 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-07 12:27:05 +00:00
Peter Cowburn
1b60a48bbc DOMNode::parentNode can be null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336900 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 20:58:37 +00:00
Peter Cowburn
c923fcd6d0 Mark DOMNode textContent as readonly.
DOMNode textContent should be documented as read-only, although other implementations of the DOM such as JavaScript allow direct setting of the textContent of an Element to insert plain text without escaping. In PHP, setting the textContent is a no-op.

-- 
Provided by anonymous #17363 (andybkk@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326126 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-12 16:26:11 +00:00
Jakub Vrana
747455d0ca Remove stub class descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322062 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:27:49 +00:00
Peter Cowburn
33f92b2cda link to list of constants from DOMNode::nodeType description (doc #54615)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310597 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-27 19:44:44 +00:00
Kalle Sommer Nielsen
2d4d3da13b Fixed bug #51279 (Documentation is weak at "DOMDocument uses UTF-8")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304551 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 08:52:35 +00:00
Pierrick Charron
4724b47c25 Added new entities for Properties, Methods, InheritedMethods, Constants
# Those words were hardcoded in all class synopsis 


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +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
Hannes Magnusson
9fcdb5c853 Implement phpdoc:classref
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265353 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:09:15 +00:00
Hannes Magnusson
18e7059e12 Replace "<title>Class synopsis</title>" with &reftitle.classsynopsis;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249052 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-26 18:56:29 +00:00
Hannes Magnusson
c16ca0fde3 Fix URL entities to follow the URL entity naming scheme
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249026 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-26 15:34:50 +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
7fde5c7d75 MFB: Upgrade to the new-reference-structure
- Moved the intro from reference.xml to book.xml
    - Change the intro ID to intro.<extname>
    - Added setup <chapter>
    - Changed the constants section to be <appendix>


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