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

88 Commits

Author SHA1 Message Date
Markus Staab
78a71e92eb XMLWriter: Change setIndent as it expects a boolean (#5011) 2025-12-10 17:08:58 +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
Niels Dossche
2f92a27cd5 Apply suggestions from code review
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-11-24 21:25:12 +01:00
Niels Dossche
7776f9acb2 Fix empty parameter section of XMLWriter::openMemory() 2024-11-24 21:25:12 +01:00
Niels Dossche
fecb2f5bb1 PHP 8.4: Document new XMLWriter methods 2024-11-24 21:25:12 +01:00
Niels Dossche
ca220fb756 PHP 8.4: Document new errors in XML{Reader,Writer} (#4123) 2024-11-21 21:55:44 +00:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
46a9cdd2db Remove empty constants pages (#3527)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 16:08:35 +01: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
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
adf11d8d64 Revert "Add documentation for default constructors - part 1 (#2089)" (#2121) 2022-12-28 08:50:09 +01:00
Máté Kocsis
0510540984 Add documentation for default constructors - part 1 (#2089)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-12-19 21:40:26 +01:00
Máté Kocsis
4a742792da Update ext/xmlreader and ext/xmlwriter role attributes (#1981) 2022-12-11 20:31:28 +01:00
Máté Kocsis
2800b9fe1e Generate ext/xmlreader and ext/xmlwriter class synopses from stubs
Closes GH-1068.
2021-12-15 19:55:38 +01:00
Peter Cowburn
2e8ef0a1bd hyphenate "object-oriented"
refs #846
2021-08-08 18:48:47 +01:00
Sergey Panteleev
8cdc6621f9 Remove PHP 5, 7 references (#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-16 22:07:40 +03:00
Nilgün Belma Bugüner
7a59549dbb fixed a typo 2021-04-22 12:39:47 +03:00
Yoshinari Takaoka
0fd50b4b11 Added PHP 8 into versions.xml for xmlwriter based on stubs.
Closes GH-384.
2021-01-24 11:43:39 +01:00
Christoph M. Becker
e6e8ba36fc Fix section order
The `returnvalues` should be placed before the `changelog`.
2021-01-03 18:32:02 +01:00
Christoph M. Becker
c31630ca23 Document XMLWriter class 2021-01-02 16:29:01 +01:00
Christoph Michael Becker
709f92e5d7 Fix copy&paste typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351488 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 11:51:04 +00:00
Christoph Michael Becker
44d5d33cee Generate xmlwriter methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351471 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 16:50:36 +00:00
Christoph Michael Becker
11952f8447 Fix #79341: XmlWriter docs does not say $uri is nullable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351079 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 11:24:30 +00:00
Christoph Michael Becker
48f89dadf5 Fix #74492: XMLWriter adds indent between mixed child nodes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351014 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:28:37 +00:00
Christoph Michael Becker
8d11b029ad Remove erroneous notes
These have apparently copy-pasted in r350602.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351013 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:16:04 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
7c015620f9 Add basic xmlwriter_write_cdata() example
This integrates user note 85621.

To render the example output as desired, we have to hack by inserting
a zero-width space character between the two brakets of the cdata end
marker.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350606 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 17:38:05 +00:00
Christoph Michael Becker
2716a63905 Add example for intermixing sub-elements and attributes
This integrates user notes 103498 and 119937.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350605 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 16:39:23 +00:00
Christoph Michael Becker
9ea98fa298 Document behavior of xmlwriter_text() wrt. special XML characters
This integrates user notes 122901 and 122912.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350604 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 15:35:17 +00:00
Christoph Michael Becker
5b39b84a3b Integrate user note 103376
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350603 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 14:38:25 +00:00
Christoph Michael Becker
f234b82635 Integrate user note 105107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350602 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 14:32:51 +00:00
Christoph Michael Becker
cf57aac89a Integrate user note 79285
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350601 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 14:28:47 +00:00
Christoph Michael Becker
4c1c34de4a Integrate user note 117971
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350600 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 14:22:45 +00:00
Christoph Michael Becker
3de5928e16 Fix version info of some XMLWriter functions and methods
Cf. <https://github.com/php/doc-en/pull/97#issuecomment-628454637>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349884 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:09:15 +00:00
Christoph Michael Becker
9c1992d078 XMLWriter: fix version nrs of a few functions
Per https://www.php.net/manual/en/migration52.functions.php, these functions were added in PHP 5.2 and looking at the commits, that seems correct.

Ref: 3cd6518f39

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349880 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:40:08 +00:00
Christoph Michael Becker
aebf045bfb Fix miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349708 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:43:55 +00:00
Jakub Vrana
720b90d94a Fix capitalization based on actual method name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343946 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 17:00:39 +00:00
Jakub Vrana
60294d6f92 Fix letter-case based on the actual method names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343917 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 10:44:33 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Christoph Michael Becker
3382d46adb Use canonical method name
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343840 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-15 13:39:26 +00:00
Christoph Michael Becker
996c7338d5 Fix method names (use the canonical form)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343350 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 21:11:12 +00:00
Christoph Michael Becker
c3ca8e1138 Fix method name (use the canonical form)
Patch provided by Gavin Staniforth

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343345 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 18:16:22 +00:00
Christoph Michael Becker
80fb006a12 Fix bug #75343: Missing code examples for XMLWriter
Basically, we use the examples given in php-src.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343246 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-15 13:29:48 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Jakub Vrana
9e8b518051 Add versions for classes
Generated by http://pastebin.com/NByXgj7E and manually edited

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330432 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:02:33 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Philip Olson
815b856ad2 Added version information as to be slightly consistent with the XMLReader docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327011 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-07 06:29:12 +00:00
Hannes Magnusson
cfe5b5214a We know it is PHP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326065 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:55:27 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00