Commit graph

519 commits

Author SHA1 Message Date
Jeremy Mikola
6b2eb216fd Revise MongoLog class documentation
Rewrite intro documentation and move PHP notice tip to a note block. Add MongoLog::CON. Add changelog, deprecating old constants. Fix modifiers for class properties.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334512 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-06 19:41:45 +00:00
Jeremy Mikola
c2b2224748 Revise MongoLog method documentation
Replace reference to deprecated MongoLog constants. Fix typing docs in callback pages and add PHP version requirement to getCallback(). Make language consistent between the getter/setter method docs.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334511 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-06 19:39:17 +00:00
Jeremy Mikola
f79489c9b3 Revise MongoDB connect/socket timeout docs
Document that default values for MongoClient options and implications of negative timeouts.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334483 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-04 22:06:20 +00:00
Jeremy Mikola
a3e949b1ea Refer to MongoCursor::maxTimeMS() from timeout() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334482 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-04 21:17:50 +00:00
Jeremy Mikola
4a26145cee Fix documentation for MongoCursor::timeout() default
https://jira.mongodb.org/browse/PHP-1157


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334427 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-30 21:36:35 +00:00
Jeremy Mikola
d2f03350de Clarify wTimeoutMS option for MongoClient and write params
https://jira.mongodb.org/browse/PHP-791


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334385 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-25 19:18:16 +00:00
Jeremy Mikola
ae1355bad7 Clarify cursor/explain options for MongoCollection aggregate methods
https://jira.mongodb.org/browse/PHP-1054


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334360 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-22 19:19:50 +00:00
Jeremy Mikola
5afe9f5317 Add "ssl" connection option to MongoClient changelog
https://jira.mongodb.org/browse/PHP-1148


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334357 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-22 15:35:15 +00:00
Jeremy Mikola
3c46d42a39 Clean up docs for MongoGridFS delete/insert methods
https://jira.mongodb.org/browse/PHP-1147


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334345 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-21 22:02:44 +00:00
Jeremy Mikola
3cefe92f81 Fix docs for MongoID class property
https://jira.mongodb.org/browse/PHP-1081


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334344 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-21 20:03:05 +00:00
Paul Dragoonis
4eed9a5bb8 Adding docs about the 'upsert' parameter to MongoWriteBatch::add()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334275 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-14 15:24:23 +00:00
Peter Cowburn
b21969b1f7 Fix collection variable name in examples
Patch by Greg Bowler

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334177 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-07 12:37:41 +00:00
Jeremy Mikola
1b7ddee55c Document deprecated MongoClient properties
https://jira.mongodb.org/browse/PHP-840


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334102 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-03 17:19:23 +00:00
Yannick Torres
d5a500831e Fix svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333942 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-25 16:57:52 +00:00
Jeremy Mikola
4148bc245c Make see-also links consistent across MongoCollection index methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333624 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-28 15:37:34 +00:00
Jeremy Mikola
20c2e4631a Rewrite MongoCollection::deleteIndex() documentation
https://jira.mongodb.org/browse/PHP-970

Attempted to clarify how string arguments are handled and touched up the code examples.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333623 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-28 15:36:49 +00:00
Philip Olson
0aa774414a Removed removed duplicated duplicated words words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333548 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-16 20:12:19 +00:00
Hannes Magnusson
639b1a2a10 Version info for the stream callback functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333410 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 17:16:53 +00:00
Hannes Magnusson
51f2b7c9b0 punctuation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333409 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 17:12:23 +00:00
Hannes Magnusson
724c49c25c grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333408 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 17:11:47 +00:00
Derick Rethans
0724a1791b Mention that this is also true for POST (from a note by Mark Coudill).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333406 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 13:29:46 +00:00
Hannes Magnusson
30276884b1 Document some mongodb constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333397 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 04:28:45 +00:00
Hannes Magnusson
b2b679970b Update changelog generation from new classess and stuffz
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333396 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 04:18:17 +00:00
Hannes Magnusson
adffd231a7 Document most of the MongoDB Context Options
Partially fixes https://jira.mongodb.org/browse/PHP-758


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333393 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 02:02:53 +00:00
Hannes Magnusson
1219ed7946 Document how to connect to MongoDB over SSL using stream context option for verifications
and authentication
Fixes https://jira.mongodb.org/browse/PHP-935


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333392 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 23:23:50 +00:00
Hannes Magnusson
7e34a70867 3000, not 30.000, is the default. Thanks Peter!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333389 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 19:49:35 +00:00
Hannes Magnusson
3d5fdde110 Document real default value and link to the mongoclient ctor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333384 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 18:13:45 +00:00
Hannes Magnusson
acef1885de Document the default value and point to MongoCursor->timeout
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333383 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 18:10:44 +00:00
Jeremy Mikola
30ed36d66f Revise MongoCollection ensure/createIndex docs
Documented options for MongoDB 2.6 and earlier versions and clarified how methods operate with each database version. Also updated write concern snippets for consistent language.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333382 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 18:07:38 +00:00
Hannes Magnusson
804331d0e3 Document new connection options
- authMechanism
- authSource
- gssapiServiceName
- secondaryAcceptableLatencyMS

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333380 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 23:17:28 +00:00
Jeremy Mikola
350e29c7e3 Revise argument docs for MongoCollection update/remove methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333379 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 23:14:32 +00:00
Jeremy Mikola
4daa8ece2f Revise MongoCollection write options and add missing changelog entries
https://jira.mongodb.org/browse/PHP-1076


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333378 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 22:37:43 +00:00
Jeremy Mikola
e294c93cee Add missing MongoClient constructor changelog entries
Includes various other small grammar and language changes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333377 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 22:32:43 +00:00
Derick Rethans
8e5a91bf87 PHP-1043: Document parallelCollectionScan
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333361 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-17 12:37:40 +00:00
Hannes Magnusson
e486128a77 Link to MongoId::isValid()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333310 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-13 17:48:21 +00:00
Hannes Magnusson
94933fcf80 Fixed PHP-1062: MongoID doesn't ignore invalid id
https://jira.mongodb.org/browse/PHP-1062


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333309 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-13 17:46:40 +00:00
Hannes Magnusson
75f56b6827 Update for the last releases
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333298 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-09 22:17:55 +00:00
Derick Rethans
e57ec925dc Added missing mongocommandcursor and cursoraggregate
And alphabetize.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333289 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-09 09:51:33 +00:00
Jeremy Mikola
4fc4e25cbd Document MongoDB maxTimeMS command/query option
Also expanded upon aggregate command options.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333265 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 22:19:19 +00:00
Jeremy Mikola
3d104ce431 Document MongoCursor::maxTimeMS()
https://jira.mongodb.org/browse/PHP-1023


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333264 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 22:17:30 +00:00
Derick Rethans
9b37dae75f PHP-1043: Update after MongoCommandCursor and aggregateCursor changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333246 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-02 15:52:36 +00:00
Peter Cowburn
41179d1448 Gentoo package name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333174 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:41 +00:00
Peter Cowburn
b84e55620e typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333173 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:35 +00:00
Derick Rethans
fb7390ad04 QA-495: Document context options for setting SSL.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333134 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-27 16:02:26 +00:00
Hannes Magnusson
f1759a0d8c Update proto for 1.5.0 changes. Tweak example a bit & add a new one for explain
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333130 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-26 21:21:51 +00:00
Derick Rethans
e7e7f8d5e5 Fixed PHP-1006 and PHP-1016: createIndex/ensureIndex changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333037 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-19 15:18:15 +00:00
Hannes Magnusson
0b9cdcc360 Version info for the new exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333002 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-15 00:00:12 +00:00
Hannes Magnusson
1624dcaf80 Document the MongoWriteBatch constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333001 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 23:49:51 +00:00
Hannes Magnusson
c56084ecba Remove extra > in the link, improve example and remove empty output
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333000 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 21:52:48 +00:00
Hannes Magnusson
be612bf517 list the ctor first in the toc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332999 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 21:52:14 +00:00