Commit graph

174 commits

Author SHA1 Message Date
Yoshinari Takaoka
4881b14f09 deleted original UTF-7 description.
Halfway deleted in imap-utf7-decode.xml.
2021-01-01 07:17:37 +09:00
Máté Kocsis
e2f50c240b Generate imap methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-297.
2020-12-31 19:30:38 +01:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 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@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00: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
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +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
ab003724ad imap_sort() returns false on failure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350866 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 18:10:39 +00:00
Christoph Michael Becker
873035efec Properly document $bodies parameter of imap_mail_compose()
We also generally improve this manual page a bit.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350852 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 13:06:28 +00:00
Christoph Michael Becker
c598ef8927 Fix info about imap_mail_compose() custom_headers
This integrates user note 18244.  We also mark up the key names.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350832 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 16:32:02 +00:00
Christoph Michael Becker
091d0f1d27 Fix #62813: imap_fetchstructure() manual claims to return "envelope" and "internal date"
While we're at it, we also integrate user note 116898 ("returns false on failure").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350824 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 15:40:33 +00:00
Christoph Michael Becker
bab0d03aac Fix #73640: imap_search can't search HEADER
Well, libc-client is a wee bit old.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350823 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:53:47 +00:00
Christoph Michael Becker
67acb98dae Fix #63266: imap_utf8 may not convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350822 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:35:47 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +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
George Peter Banyard
ac9f8fcf00 Typos found by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348340 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-24 05:12:59 +00:00
Christoph Michael Becker
0de6bb1cd9 Fix #78030: imap_open() expects parameter 6 to be array, null given
For all practical purposes, the default value is actually an empty array.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347436 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-18 06:58:33 +00:00
Christoph Michael Becker
ca35bb0ee6 Document potentially insecure IMAP mailbox names
We add a warning to all parameters which may be affected,
and also document the new ini option which prevents RCE.
We intentionally keep the wording backwards (“unless … is
disabled”) to also cater to older PHP version which do not
implement the ini option.

Cf. <https://bugs.php.net/bug.php?id=77153>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346027 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 14:39:24 +00:00
Christoph Michael Becker
1cb9fe0974 Fix #67366: Docs do not list some LATT_* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344964 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-05 17:00:57 +00:00
Christoph Michael Becker
a2165b1ec5 Fix typos
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344377 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-27 13:46:38 +00:00
Jakub Vrana
13ab43e265 Standardize filenames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344354 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-24 17:11:35 +00:00
Christoph Michael Becker
d78b4646c2 Partially fix #75094: Functions not documented
We document the IMAP functions which have been introduced 
in PHP 5.3.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342908 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 14:01:19 +00:00
Andrey Gromov
62db3b3942 fixes from anon and Alex Medvedev
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342651 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-09 08:18:52 +00:00
Andrey Gromov
42f0c6186a fixes from anons (changes for imap checked in C-sources)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342503 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-25 08:23:31 +00:00
Pieter Hordijk
1ab7003a7f Added return value on error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342243 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:54:45 +00:00
Maciek Sokolewicz
30e1776899 note that the function returns false on error
patch provided by an anonymous contributor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341927 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 19:46:09 +00:00
Andrey Gromov
d790375863 Typo, copypaste errors and so.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341804 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-29 09:14:49 +00:00
Maciej Sobaczewski
3906c681cd Fix inconsistent changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340948 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-11 12:55:45 +00:00
Christoph Michael Becker
3c02ea37b5 Fix #73028: udate Missing in Doc for imap_fetch_overview
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339993 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-06 10:52:55 +00:00
Christoph Michael Becker
bd034b66e9 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:13:34 +00:00
Christoph Michael Becker
d91919d037 improvements for imap_search() and imap_sort() docs (fixes #69410)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337670 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-29 11:14:31 +00:00
Christoph Michael Becker
867cdffb81 fixed primary body type documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337492 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:37:18 +00:00
Christoph Michael Becker
394972d6ce Add constants for types and encoding
-- 
Provided by anonymous 16911 (Krzysiek Łukasiak)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337491 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:32:54 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +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
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Peter Cowburn
a75d02c1f4 Fix variables in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333193 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:01 +00:00
Peter Cowburn
6c6df6aa38 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333165 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:52:59 +00:00
Chris Wright
a315422008 Change imap_expunge mandate to recommendation, per bug #64791
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331926 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:13:16 +00:00
Joe Watkins
44bb6dafd6 #65346 include helpful links to imap_mail_compose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331664 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 16:42:27 +00:00
Daniel P. Brown
0e2ed74a32 Addresses bug #65164.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330735 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-01 18:45:11 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00
Adam Harvey
45b4dc6dc3 c-client might think "#define NIL 0" is cool, but PHP doesn't.
Fix doc bug #63997 (NIL instead of NULL).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329153 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 01:58:01 +00:00
Peter Cowburn
4d81bf2025 typofix "aly"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325727 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-16 19:35:11 +00:00
Justin Martin
fa43273627 Changed erroneous reference to POP3 to proper reference to IMAP. Closes bug #60437.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320318 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 20:45:17 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Richard Quadling
aabe2350dd Amended example to show the value returned by the imap_utf7_encode() call.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314999 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 10:23:09 +00:00
Philip Olson
faa96c62bf Added an imap_search() example, and mentioned that all criteria entries are matched.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312195 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-15 19:59:00 +00:00
Philip Olson
2befa39768 Added missing ext/imap function aliases
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312130 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-13 22:08:58 +00:00
Richard Quadling
b4394b358c Added complete svn:keyword list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309377 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-18 10:33:01 +00:00