Commit graph

70 commits

Author SHA1 Message Date
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
Jakub Vrana
813a3239bc Remove duplicate info about initializers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324585 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 18:53:04 +00:00
Jakub Vrana
0d604bbc9d Remove <classsynopsis> from methods and fields definitions
PhD uses this context for decisions about links and similar.
It also simplifies the XML

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322205 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 14:20:43 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Jakub Vrana
fad61b5c27 Extension categorization
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313268 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:33:49 +00:00
Moacir de Oliveira Miranda Júnior
104d85b7e6 Adding extra refnames for procedural functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311723 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-02 02:16:23 +00:00
Peter Cowburn
ca1e8b4ce9 initializer for xmlwriter outputmemory/flush (doc #54788)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311248 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-19 12:34:03 +00:00
Philip Olson
383b579aef - Unified and clarified the installation section of our libxml based XML extensions
- Added libxml requirement to extensions requiring it (w/ new entity)
- Added --disable-* description for those that are enabled by default (w/ new entity)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300860 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-29 19:21:07 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +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
Jakub Vrana
bc93886cd1 Prefer <initializer> before "default is"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291316 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:41:53 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +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
b9d85cd6cd fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283842 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:19:14 +00:00
Nilgün Belma Bugüner
670c50a2f9 fixed a typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281294 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-28 12:28:35 +00:00
Nilgün Belma Bugüner
c65b41f04a some improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281287 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-28 10:54:05 +00:00
Philip Olson
a03e445187 Mention this is enabled by default as of 5.1.2
# Did not mention the PECL extension because nobody should use it, although
# perhaps that's a different topic altogether (pecl->core)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279893 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-04 19:44:07 +00:00
Damien Seguy
04db3ecc80 poo to oop
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275915 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 11:49:35 +00:00
Damien Seguy
ced830f5dc minor spelling fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275911 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 09:57:57 +00:00