Commit graph

367 commits

Author SHA1 Message Date
Jeremy Mikola
f34909f604 Remove MongoDB URL entities that are only referenced once
https://jira.mongodb.org/browse/PHP-387


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329063 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 17:42:52 +00:00
Jeremy Mikola
48b24042d6 Update MongoGridFS "see also" links and format as a list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329046 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-09 23:06:32 +00:00
Jeremy Mikola
65c7a68e87 Add examples and consistency to MongoGridFS storage methods
https://jira.mongodb.org/browse/PHP-387


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329045 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-09 23:04:32 +00:00
Jeremy Mikola
6f59b9c6a9 Document _id generation in MongoCollection insert/save methods
https://jira.mongodb.org/browse/PHP-383


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329040 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 23:01:23 +00:00
Jeremy Mikola
2a331a3820 Note that MongoDB GLE will report n=0 for insertions
https://jira.mongodb.org/browse/PHP-620


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329038 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 21:28:08 +00:00
Adam Harvey
c1034e6218 MongoGridFS::storeFile() returns a MongoId, per note 110936.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329006 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 02:34:26 +00:00
Paul Reinheimer
6ad7dd65d2 - Adding a basic search example, as well as searching for a child item.
Rationale: I was helping a friend yesterday who is Learning MongoDB while they learn how to use the PHP Extension to it. They ended up trying to write a javascript based query to do a simple matching query. I hope these more simplistic examples will help people in that situation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328711 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-08 16:23:32 +00:00
Hannes Magnusson
319f198e34 These aren't actually in the 1.3 release, but are slated for 1.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328686 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 19:47:47 +00:00
Hannes Magnusson
e3fe415ffd typo reported by NodeX (freenode)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 13:03:38 +00:00
Derick Rethans
df8a0aceef Bug #63333: %s/$obj/$document
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328572 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 16:20:34 +00:00
Derick Rethans
95613c0697 Fix ups, and commented some things out that aren't implemented.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328569 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 13:27:04 +00:00
Derick Rethans
c5746ce5aa Fixed version information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328565 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 11:02:30 +00:00
Hannes Magnusson
99392cae51 tpyos spotted by Philip
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328557 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:24:34 +00:00
Hannes Magnusson
1585a91cf9 Fixed bug#63624 (documentation concerning settings for Mongo-Database)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328556 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:06:32 +00:00
Hannes Magnusson
fb8f8617ef Various markup fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328555 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:37:54 +00:00
Hannes Magnusson
82a3f40a46 Mention this class doesn't do anything now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328554 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:05:54 +00:00
Hannes Magnusson
ce2287e205 Adding seealso/changelogs and best practices and such things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328553 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:03:19 +00:00
Hannes Magnusson
b75d8bd411 Document the deprecated Mongo constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328552 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 01:00:58 +00:00
Hannes Magnusson
48e1717a75 Mention we populate the _id field with the pregenerated ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328551 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:51:28 +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
7d96d2a7f7 More Read Preferences love
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328549 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 23:25:17 +00:00
Hannes Magnusson
ec6cb30f0e Make the role=errors section consistent for all write methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328545 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 20:33:41 +00:00
Hannes Magnusson
e7dbde68a1 More WriteConcern updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328544 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 20:18:45 +00:00
Hannes Magnusson
26b9276e07 - Update some examples and paragraphs to use WriteConcerns
- Update all options to include the WriteConcern option - and refactored those options into entities


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328543 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 19:31:57 +00:00
Hannes Magnusson
6a0c2c3a7d These constants have the correct value now
Add a warning about tagsets without a fallback


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328539 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 18:05:53 +00:00
Hannes Magnusson
9c99212a0b Fix the value of the constants in the description too
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328537 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 17:38:01 +00:00
Hannes Magnusson
4ebdfbb9b7 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328529 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 08:28:40 +00:00
Hannes Magnusson
b0d55e5670 Specific WriteConcern docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328528 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 08:27:11 +00:00
Hannes Magnusson
aa0343b641 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328527 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 08:23:28 +00:00
Hannes Magnusson
a580fc56db Update version info for both new things and crapold things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328526 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:52:02 +00:00
Hannes Magnusson
c6e47f5c4b it wasn't me... typofix =)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328525 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:48:31 +00:00
Hannes Magnusson
17517b0dfb Fix markup
It is important to use <classname> for classes, not <function>, so PhD knows how to handle it properly


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328524 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:43:24 +00:00
Hannes Magnusson
73836fe836 Prettify markup and spread id love around
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328523 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:38:46 +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
Hannes Magnusson
6afc8f832a This is a method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328521 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:32:37 +00:00
Hannes Magnusson
3b30f904db Document MongoClient::getConnections()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328520 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:23:05 +00:00
Hannes Magnusson
1ec11eb024 Fix classname typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328519 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 04:10:08 +00:00
Hannes Magnusson
21293f3656 Moved the generated changelog into its own file & manually added some 1.3 notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328518 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 03:42:31 +00:00
Hannes Magnusson
a90f5b7e51 - Updated the install structure to be consistent with all other extensions
- Updated the markup in the tutorial to mark examples as such
- Gave IDs to all the tutorial sections to split them down into individual pages for readability


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328517 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 03:03:34 +00:00
Hannes Magnusson
039bd1d774 The constants where changed to be strings just before the release
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328516 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 02:59:27 +00:00
Hannes Magnusson
9e4c08994f - Fix title
- I don't think that autoreconnect option has ever existed
- allow_persistent is no longer available


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328515 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 01:23:24 +00:00
Hannes Magnusson
98a9ca1d9e Remove weird windows stuff, slight markup changes to make things more understandable and other small tweaks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328514 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-27 23:46:11 +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
Derick Rethans
4e6e063ae1 Fix callback function's description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328491 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-25 12:34:38 +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
569b9e616a Get rid of the fireAndForget stuff alltogether.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328442 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 11:41:43 +00:00
TAKAGI Masahiro
a7171fc3ce Set svn:keyword, svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328427 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 10:55:24 +00:00
Jeremy Mikola
a3fe103a4d Document MongoClient class and write concern defaults
https://jira.mongodb.org/browse/PHP-544


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328426 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 01:57:53 +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
Derick Rethans
c05e5bfb32 Fixed PHP-562: Document changes to Mongo::close().
Added a warning Mongo::connectUtil to show it is deprecated.
Add see-also's.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328271 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 15:59:17 +00:00