Commit graph

21629 commits

Author SHA1 Message Date
Jeremy Mikola
9f0e1e36a3 Documentation for MongoCursorInterface
This interface extends Iterator and is implemented internally by MongoCursor and MongoCommandCursor. In addition to the interface methods, "see also" links were added on the implemented methods to point back to the interface documentation (as we did for Iterator methods).

https://jira.mongodb.org/browse/PHP-1328


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335760 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 21:10:35 +00:00
Jakub Vrana
a2b30c956f Fix version of \e (was not available on Windows before, see bug #61827)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335758 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 17:17:37 +00:00
Jeremy Mikola
96ac68c599 Fix example output for MongoCollection::getIndexInfo()
The previous output looked nothing like var_dump(). The indexes are are comparable to those in the previous example, although there are some additional fields and I changed the geo-spatial index to "2dsphere".


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335757 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 16:24:54 +00:00
Jeremy Mikola
2fba051b83 Update example output for MongoDB::getCollectionInfo()
This returns a numerically indexed array and collection names do not include the namespace prefix.

https://jira.mongodb.org/browse/PHP-1376
https://jira.mongodb.org/browse/PHP-1378


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335756 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 16:22:40 +00:00
Jeremy Mikola
54cf5f9e3f Revise docs for MongoDB collection enumeration methods
These methods now take an options array in 1.6+. Additionally, this fixes the description of getCollectionInfo().

https://jira.mongodb.org/browse/PHP-1318


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335744 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:29:05 +00:00
Dan Ackroyd
11418b6522 Clarified that padding char is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335743 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:07:34 +00:00
Dan Ackroyd
1220101ce4 Added detail about padding character for bug 61532
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335742 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 14:55:44 +00:00
Jeremy Mikola
fda62fbc6e Remove full text search example from MongoDB::command() docs
This example is obsolete. The text command was experimental in 2.4 and deprecated in favor of the $text query operator in 2.6.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335738 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 21:00:46 +00:00
Jeremy Mikola
da1b439fc9 Document MongoDB::command() $hash by-reference parameter
https://jira.mongodb.org/browse/PHP-1330


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335737 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:58:06 +00:00
Jeremy Mikola
ed3172ce5d Specify "seconds since the epoch" in MongoDB type docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335736 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:25:00 +00:00
Jeremy Mikola
40d18f45d5 Clarify that MongoTimestamp is for internal use only
We'll leave Kristina's Monopoly reference in place for historical reasons.

https://jira.mongodb.org/browse/PHP-1374


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335735 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:17:41 +00:00
Jeremy Mikola
3382aa19c7 Fix typo in MongoMaxKey documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335734 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 19:20:33 +00:00
Jeremy Mikola
58374fa210 Clarify that MongoMaxKey/MongoMinKey are primarily for internal use
This also revises some language in the usage examplex for both classes.

https://jira.mongodb.org/browse/PHP-1375


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335733 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 19:18:31 +00:00
Jean-Sebastien Hedde
2f12b12b10 XSLTProcessor::importStylesheet was documented void, but is bool.
-- 
Provided by anonymous 53795 (mot@fsfe.org)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335731 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 12:58:32 +00:00
Kalle Sommer Nielsen
5d818a7f07 Improve the example for pg_last_oid() a little bit, less variables and a few comments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335725 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-12 22:39:50 +00:00
Dan Ackroyd
3dd3c7bfb8 Added explaination of how beziersmooth works.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335724 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-12 16:45:28 +00:00
Dan Ackroyd
b6bd53672f Fixed indentation, ID, and element name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335723 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-12 15:52:36 +00:00
Andrea Faulds
e36faa1eae Clarity on behaviour of mt_getrandmax() and mt_rand()'s max
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335710 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-11 01:55:26 +00:00
Peter Cowburn
d69425501f document CURLOPT_POSTREDIR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335709 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-10 22:08:04 +00:00
Dan Ackroyd
885a4ea108 Fixed id of Imagick.tostring.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335708 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-10 00:39:46 +00:00
Dan Ackroyd
d4bc3f5965 Added toString for Imagick.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335704 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-09 19:36:22 +00:00
Dan Ackroyd
7f56a87bce Added example of how to use getPixelRegionIterator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335701 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-08 22:44:32 +00:00
Adam Harvey
20d255c120 Added changelog notes for a BC break to undocumented crypt() behaviour.
Nobody should be relying on this anyway, but since Horde apparently was...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335700 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-08 19:26:09 +00:00
Peter Cowburn
39c8f09ae3 add date.timezone.posix-signs entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335672 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-07 20:21:55 +00:00
Peter Cowburn
a3e5fbdab0 fix typo in javascript example (doc bug #68767)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335667 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-07 17:03:50 +00:00
Alexander Moskaliov
1e1c3f01a2 Fix bug #68757
Wrong result type for mysqli::$connect_errno

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335639 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-06 11:19:59 +00:00
Adam Harvey
a88922dd25 Update the note on JSON standard conformance.
Fixes doc bug #68733 (RFC7159 JSON allows top-level scalars).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335638 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-06 00:43:26 +00:00
Omar Shaban
03da6cadeb Solr - SolrClient::system and SolrDisMaxQuery (DisMaxQuery Builder) + introduction and info corrections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335629 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-04 22:20:02 +00:00
Pieter Hordijk
b974378c8f Fixed small typo a -> an
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335590 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-03 17:00:22 +00:00
Alexander Moskaliov
0d0936323e Fix syntax error in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335586 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-03 16:11:59 +00:00
Peter Cowburn
c4c0f7fc58 WS in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335554 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-02 12:40:47 +00:00
Peter Cowburn
2e113b1c2f coding standard - indentation and curly braces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335553 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-02 12:40:41 +00:00
Peter Cowburn
7ecbb29bdb fix parentheses in examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335552 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-02 12:40:35 +00:00
Adam Harvey
f3aee9f107 Urgh, fieldsynopsis whitespace is significant for semicolon formatting.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335511 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 20:06:20 +00:00
Adam Harvey
c91b624d4f Reinstate the original markup for the OO mysqli::insert_id field.
Effectively reverts r335491, which broke the build, but with slightly better
indenting.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335503 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 17:16:54 +00:00
Jean-Sebastien Hedde
cf247b9c7c This patch updates the Bison version requirements for newer releases of PHP (namely for 5.5 and 5.6).
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335495 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 13:03:49 +00:00
Jean-Sebastien Hedde
3f69d9b08b Simply fixes a typo.
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335494 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 13:02:22 +00:00
Jean-Sebastien Hedde
f01797a01e Contains a simple typo fix and rephrased the description for sql.safe_mode for clarity.
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335492 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 13:01:43 +00:00
Jean-Sebastien Hedde
dac0212e68 The man page for Mysqli.insert-id has a small styling issue, caused by incorrect xml wrappers. I have changed this so that the page will render correctly.
-- 
Provided by anonymous 50584 (kirk.bater@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335491 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:56:27 +00:00
Jean-Sebastien Hedde
691a13900a Clarify the language about optional values in getopt() documentation.
-- 
Provided by anonymous 51325 (liebelied7@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335489 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:53:35 +00:00
Jean-Sebastien Hedde
80b45edaea References:
http://curl.haxx.se/libcurl/c/CURLOPT_PRIVATE.html
http://php.net/ChangeLog-5.php


I would like to edit the documentation of curl_setopt() too, but editing of this page is unavailable since weeks due to pending review.

Can you please review pending changes so I can edit the page, or add yourself the following:


under [value should be a string for the following values of the option parameter:]

<constant>CURLOPT_PRIVATE</constant>
Any data that should be associated with this cURL handle. This data can subsequently be retrieved with the <constant>CURLINFO_PRIVATE</constant> option of <function>curl_getinfo</function>. cURL does nothing with this data. When using a cURL multi handle, this private data is typically a unique key to identify a normal cURL handle.
Added in cURL 7.10.3.

under [Changelog]:

5.2.4
Introduced CURLOPT_PRIVATE.


-- 
Provided by anonymous 50443 (francois.bonzon@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335488 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:51:33 +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
Jean-Sebastien Hedde
204bc2974d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335457 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-29 12:49:12 +00:00
Maciej Sobaczewski
fbec912bce Closes bug #67398
(XSLTProcessor::transformToXML docs show incorrect param type)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335452 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-29 06:56:15 +00:00
Jeremy Mikola
9eeba8cb28 Update docs for MongoCursor interator methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335444 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 22:05:21 +00:00
Jeremy Mikola
eecf0808f0 Revise formatting and example for MongoCommandCursor::timeout()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335443 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:57:51 +00:00
Jeremy Mikola
63b0d9a05f Revise docs and examples for creating MongoCommandCursors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335442 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:56:56 +00:00
Jeremy Mikola
78b7d262be Revise docs for MongoCursor::dead()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335441 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:55:05 +00:00
Jeremy Mikola
a7f59b4761 Revise docs and examples for MongoCursor::info()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335440 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:54:15 +00:00
Jean-Sebastien Hedde
877e82bf2f i ​added a check on the returned file handle from fopen() before attempting to read it via feof(). this is to prevent infinite loops on feof() when reading from an invalid file pointer. see the warnings documented here: http://php.net/manual/en/function.feof.php#refsect1-function.feof-notes
-- 
Provided by anonymous 52007 (stefan.topfstedt@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335436 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 18:18:16 +00:00