Commit graph

87 commits

Author SHA1 Message Date
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
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
André Luis Ferreira da Silva Bacci
e9366ee458 Fix svn:eol-style, svn:keywords and svn:mime-type on XML files. No content change, but some revision numbers will upgrade.
See https://github.com/phpdocbrbridge/bridge/blob/master/src/revbumper.php for automatic tool for translations.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342988 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-02 18:42:15 +00:00
Christoph Michael Becker
f7ad59e1e0 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342150 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:07:39 +00:00
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
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
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
Jeremy Mikola
a9502d1ec1 Clarify language in MongoCursor batchSize docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335345 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-23 21:09:33 +00:00
Derick Rethans
7619681d4b Document return type of next(), and document getNext() as an alias of next().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335247 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-05 16:42:09 +00:00
Richard Quadling
cb2e7b70b1 svn:keywords, svn:eol-style, svn:ignore all set appropriately.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 12:08:23 +00:00
Derick Rethans
61fa6fb092 PHP-1214: Added the addOption( '$comment', … ) example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334691 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 15:01:16 +00:00
Jeremy Mikola
c6bfe83556 Clarify that MongoCursor::snapshot() only prevents dupes
https://jira.mongodb.org/browse/PHP-1167


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334600 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-25 17:00:30 +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
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
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
Jeremy Mikola
72ba9f1f10 Cross-reference MongoDB get/setReadPreference methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-11 17:40:18 +00:00
Derick Rethans
cb5b7284fe Bunch of little tiny doc updates and fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332947 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-10 15:03:19 +00:00
Jeremy Mikola
0f6fa16323 Update links to MongoDB documentation
Also renamed repairDatabase entity and created a new entity for batchSize documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332247 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 17:36:24 +00:00
Derick Rethans
4bc6929518 Document this correctly.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332069 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-05 11:44:20 +00:00
Jeremy Mikola
2f4610bbd5 Fix return value for MongoCursor::setReadPreference()
https://jira.mongodb.org/browse/PHP-920


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331779 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-11 19:08:30 +00:00
Jeremy Mikola
5371ef3052 Update documentation for MongoCursor timeout
Fixed the default value of the static property, consolidated examples for the timeout() method, and added a warning note.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331219 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-28 19:00:47 +00:00
Jakub Vrana
fa909446a4 Fix typos in examples and add trailing ?>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331062 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-05 19:18:51 +00:00
Hannes Magnusson
2fea00613f Crosslink skip and limit, and move the external link into correct structure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331030 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-29 18:35:20 +00:00
Jeremy Mikola
cf27b67a87 MongoCursor::setFlag() takes an int as its first argument
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330940 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-16 21:38:26 +00:00
Jeremy Mikola
b934b1cf6a Capitalize MB abbreviation for MongoCursor::dead()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330799 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-08 16:10:34 +00:00
Jeremy Mikola
c8253817c2 MongoCursor::hint() supports string arguments
https://jira.mongodb.org/browse/PHP-775


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330170 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-02 18:41:57 +00:00
Derick Rethans
53281c346b Added that it's a server thing, and emphasised "forever".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330128 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-22 14:11:27 +00:00
Derick Rethans
b5cc417fb0 Fix grammar.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330076 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 14:07:27 +00:00
Derick Rethans
1c8e3304dd From 1.4.0 we support flag 3 (oplog_reply) as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330072 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 09:29:12 +00:00
Jeremy Mikola
ff6aa0c781 Update Mongo get/setReadPreference return values and error docs
https://jira.mongodb.org/browse/PHP-669


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329318 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-28 23:36:42 +00:00
Jeremy Mikola
88959cefb9 Update Mongo read preference methods for 1.3.3 release
Fix parameter type for setReadPreference() methods, document getReadPreference() return value changes, and update version info for MongoCursor methods.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329170 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 21:36:10 +00:00
Hannes Magnusson
8bbdbb8d6b More ReadPreference love rather then slaveokay
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328550 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:16:49 +00:00
Hannes Magnusson
643260e9ae The classname is MongoCursor, not Cursor, and use correct markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:37:32 +00:00
Jeremy Mikola
8a4640c71c Revise replica set language and MongoClient references
Replace master/slave terminology with primary/secondary
Change most Mongo class references to MongoClient
Enforce 80-char line widths and trim trailing whitespace
Add literal formatting within some paragraphs

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328496 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-26 03:07:28 +00:00
TAKAGI Masahiro
8ad1bbaa57 Set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328467 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-23 08:27:46 +00:00
Derick Rethans
e49b53d06f Make sure not to mention replicaSet => true anywhere anymore.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328355 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:45:58 +00:00
Jeremy Mikola
2983ed9c50 Use reverse chronological order for Mongo changelogs
https://jira.mongodb.org/browse/PHP-499


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327889 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-05 20:22:15 +00:00
Jeremy Mikola
9e18466c86 Use methodname tag and entities within Mongo read preference docs
https://jira.mongodb.org/browse/PHP-474


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327470 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 18:35:02 +00:00
Jeremy Mikola
3fb8222fa7 Fix type docs for Mongo driver read preference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327469 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 17:47:05 +00:00
Jeremy Mikola
b8bef8d378 Document MongoDB driver read preferences
https://jira.mongodb.org/browse/PHP-474


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327468 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 15:55:54 +00:00
Hannes Magnusson
c90424bc60 Deprecate whole lot of things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326702 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 16:57:19 +00:00
Derick Rethans
a8906b51ea Added docs for MongoCursor::awaitData() and MongoCursor::setFlag() that are new in 1.2.11/1.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326156 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-13 15:40:47 +00:00
Derick Rethans
b2cfbc95b5 Properly document MongoCursor::batchSize(). (PHP-284)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325451 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-25 18:04:50 +00:00
Jakub Vrana
d8b968e63c Document public constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321901 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 05:33:58 +00:00
Derick Rethans
255568b4c9 Explain the fields array better.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321508 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 14:51:09 +00:00
Derick Rethans
e1dd919618 Documentation fixes and changes for 1.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321505 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 11:48:33 +00:00
Kristina Chodorow
c47a493278 Improved readability of intro materials
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313602 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-22 19:40:05 +00:00