From 82607a90f72d95d526928865eeb27b3f9417b137 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 8 Apr 2015 05:26:48 +0000 Subject: [PATCH] Traversable MongoDB\Driver\Cursor replaces Result class As of 0.4, the Result and Cursor classes, which were IteratorAggregate and Iterator, respectively, are consolidated into a single, Traversable Cursor class. https://jira.mongodb.org/browse/PHPC-224 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336451 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongodb/mongodb.xml | 2 - reference/mongodb/mongodb/driver/command.xml | 8 +- .../mongodb/driver/command/construct.xml | 5 +- reference/mongodb/mongodb/driver/cursor.xml | 8 +- .../mongodb/driver/cursor/construct.xml | 15 +-- .../mongodb/mongodb/driver/cursor/current.xml | 93 --------------- .../mongodb/driver/cursor/getbatchsize.xml | 93 --------------- .../mongodb/mongodb/driver/cursor/getid.xml | 4 +- .../mongodb/driver/cursor/getserver.xml | 4 +- .../mongodb/mongodb/driver/cursor/isdead.xml | 4 +- .../mongodb/mongodb/driver/cursor/key.xml | 93 --------------- .../mongodb/mongodb/driver/cursor/kill.xml | 93 --------------- .../mongodb/mongodb/driver/cursor/next.xml | 93 --------------- .../mongodb/mongodb/driver/cursor/rewind.xml | 93 --------------- .../mongodb/driver/cursor/setbatchsize.xml | 102 ---------------- .../driver/{result => cursor}/settypemap.xml | 12 +- .../driver/{result => cursor}/toarray.xml | 12 +- .../mongodb/mongodb/driver/cursor/valid.xml | 93 --------------- .../mongodb/driver/manager/executecommand.xml | 11 +- .../mongodb/driver/manager/executequery.xml | 10 +- .../mongodb/driver/query/construct.xml | 6 +- reference/mongodb/mongodb/driver/result.xml | 80 ------------- .../mongodb/driver/result/construct.xml | 111 ------------------ .../mongodb/driver/result/getiterator.xml | 93 --------------- .../mongodb/driver/result/getserver.xml | 93 --------------- .../driver/result/setiteratorclass.xml | 102 ---------------- .../driver/result/setiteratorinitcallback.xml | 102 ---------------- reference/mongodb/versions.xml | 19 +-- 28 files changed, 50 insertions(+), 1404 deletions(-) delete mode 100644 reference/mongodb/mongodb/driver/cursor/current.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/getbatchsize.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/key.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/kill.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/next.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/rewind.xml delete mode 100644 reference/mongodb/mongodb/driver/cursor/setbatchsize.xml rename reference/mongodb/mongodb/driver/{result => cursor}/settypemap.xml (82%) rename reference/mongodb/mongodb/driver/{result => cursor}/toarray.xml (80%) delete mode 100644 reference/mongodb/mongodb/driver/cursor/valid.xml delete mode 100644 reference/mongodb/mongodb/driver/result.xml delete mode 100644 reference/mongodb/mongodb/driver/result/construct.xml delete mode 100644 reference/mongodb/mongodb/driver/result/getiterator.xml delete mode 100644 reference/mongodb/mongodb/driver/result/getserver.xml delete mode 100644 reference/mongodb/mongodb/driver/result/setiteratorclass.xml delete mode 100644 reference/mongodb/mongodb/driver/result/setiteratorinitcallback.xml diff --git a/reference/mongodb/mongodb.xml b/reference/mongodb/mongodb.xml index 4045991578..cdfbb0f443 100644 --- a/reference/mongodb/mongodb.xml +++ b/reference/mongodb/mongodb.xml @@ -10,8 +10,6 @@ &reference.mongodb.mongodb.driver.query; &reference.mongodb.mongodb.driver.bulkwrite; - &reference.mongodb.mongodb.driver.result; - &reference.mongodb.mongodb.driver.writeconcern; &reference.mongodb.mongodb.driver.readpreference; diff --git a/reference/mongodb/mongodb/driver/command.xml b/reference/mongodb/mongodb/driver/command.xml index 6720e3d78f..7e55577242 100644 --- a/reference/mongodb/mongodb/driver/command.xml +++ b/reference/mongodb/mongodb/driver/command.xml @@ -95,13 +95,13 @@ $createCollection->setCappedCollection(64 * 1024); try { $command = $createCollection->getCommand(); - $result = $manager->executeCommand("databaseName", $command); - $response = $result->getResponseDocument(); + $cursor = $manager->executeCommand("databaseName", $command); + $response = $cursor->toArray()[0]; var_dump($response); $collstats = ["collstats" => $createCollection->getCollectionName()]; - $result = $manager->executeCommand("databaseName", new MongoDB\Driver\Command($collstats)); - $response = $result->getResponseDocument(); + $cursor = $manager->executeCommand("databaseName", new MongoDB\Driver\Command($collstats)); + $response = $cursor->toArray()[0]; var_dump($response); } catch(MongoDB\Driver\Exception $e) { echo $e->getMessage(), "\n"; diff --git a/reference/mongodb/mongodb/driver/command/construct.xml b/reference/mongodb/mongodb/driver/command/construct.xml index 2817b1a594..ec9a3aed5c 100644 --- a/reference/mongodb/mongodb/driver/command/construct.xml +++ b/reference/mongodb/mongodb/driver/command/construct.xml @@ -53,8 +53,8 @@ $manager = new MongoDB\Driver\Manager("mongodb://localhost:27017"); $command = new MongoDB\Driver\Command(array("buildinfo" => 1)); try { - $result = $manager->executeCommand("admin", $command); - $response = $result->getResponseDocument(); + $cursor = $manager->executeCommand("admin", $command); + $response = $cursor->toArray()[0]; } catch(MongoDB\Driver\Exception $e) { echo $e->getMessage(), "\n"; exit; @@ -116,6 +116,7 @@ array(13) { &reftitle.seealso; MongoDB\Driver\Manager::executeCommand + MongoDB\Driver\Cursor diff --git a/reference/mongodb/mongodb/driver/cursor.xml b/reference/mongodb/mongodb/driver/cursor.xml index 60c5a6cca8..5ff8d4cc6a 100644 --- a/reference/mongodb/mongodb/driver/cursor.xml +++ b/reference/mongodb/mongodb/driver/cursor.xml @@ -11,6 +11,12 @@
&reftitle.intro; + + The MongoDB\Driver\Cursor class encapsulates + the results of a MongoDB command or query and may be returned by + MongoDB\Driver\Manager::executeCommand or + MongoDB\Driver\Manager::executeQuery, respectively. + @@ -31,7 +37,7 @@ - Iterator + Traversable diff --git a/reference/mongodb/mongodb/driver/cursor/construct.xml b/reference/mongodb/mongodb/driver/cursor/construct.xml index dde8a02799..b325c7257d 100644 --- a/reference/mongodb/mongodb/driver/cursor/construct.xml +++ b/reference/mongodb/mongodb/driver/cursor/construct.xml @@ -10,10 +10,9 @@ &reftitle.description; - public MongoDB\Driver\Cursor::__construct + final public MongoDB\Driver\Cursor::__construct Serverserver - CursorIdcursorId - arrayfirstBatch + stringresponseDocument @@ -33,15 +32,7 @@ - cursorId - - - - - - - - firstBatch + responseDocument diff --git a/reference/mongodb/mongodb/driver/cursor/current.xml b/reference/mongodb/mongodb/driver/cursor/current.xml deleted file mode 100644 index 8ad44de1f1..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/current.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::current - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::current - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::current</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/getbatchsize.xml b/reference/mongodb/mongodb/driver/cursor/getbatchsize.xml deleted file mode 100644 index a3a62fdcfa..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/getbatchsize.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::getBatchSize - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::getBatchSize - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::getBatchSize</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/getid.xml b/reference/mongodb/mongodb/driver/cursor/getid.xml index acc2db4265..6ec9a75211 100644 --- a/reference/mongodb/mongodb/driver/cursor/getid.xml +++ b/reference/mongodb/mongodb/driver/cursor/getid.xml @@ -4,13 +4,13 @@ MongoDB\Driver\Cursor::getId - Description + Returns the CursorId for this cursor &reftitle.description; - public ReturnTypeMongoDB\Driver\Cursor::getId + final public MongoDB\Driver\CursorIdMongoDB\Driver\Cursor::getId diff --git a/reference/mongodb/mongodb/driver/cursor/getserver.xml b/reference/mongodb/mongodb/driver/cursor/getserver.xml index bb23055dcf..ef263571b1 100644 --- a/reference/mongodb/mongodb/driver/cursor/getserver.xml +++ b/reference/mongodb/mongodb/driver/cursor/getserver.xml @@ -4,13 +4,13 @@ MongoDB\Driver\Cursor::getServer - Description + Returns the Server object to which this cursor is attached &reftitle.description; - public ReturnTypeMongoDB\Driver\Cursor::getServer + final public MongoDB\Driver\ServerMongoDB\Driver\Cursor::getServer diff --git a/reference/mongodb/mongodb/driver/cursor/isdead.xml b/reference/mongodb/mongodb/driver/cursor/isdead.xml index ac1026cc95..ce022f79b8 100644 --- a/reference/mongodb/mongodb/driver/cursor/isdead.xml +++ b/reference/mongodb/mongodb/driver/cursor/isdead.xml @@ -4,13 +4,13 @@ MongoDB\Driver\Cursor::isDead - Description + Checks if a cursor is still alive &reftitle.description; - public ReturnTypeMongoDB\Driver\Cursor::isDead + final public boolMongoDB\Driver\Cursor::isDead diff --git a/reference/mongodb/mongodb/driver/cursor/key.xml b/reference/mongodb/mongodb/driver/cursor/key.xml deleted file mode 100644 index dcc200433e..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/key.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::key - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::key - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::key</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/kill.xml b/reference/mongodb/mongodb/driver/cursor/kill.xml deleted file mode 100644 index b700a163cb..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/kill.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::kill - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::kill - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::kill</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/next.xml b/reference/mongodb/mongodb/driver/cursor/next.xml deleted file mode 100644 index d39e300e7a..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/next.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::next - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::next - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::next</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/rewind.xml b/reference/mongodb/mongodb/driver/cursor/rewind.xml deleted file mode 100644 index bd59791140..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/rewind.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::rewind - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::rewind - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::rewind</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/cursor/setbatchsize.xml b/reference/mongodb/mongodb/driver/cursor/setbatchsize.xml deleted file mode 100644 index 10a82b4d00..0000000000 --- a/reference/mongodb/mongodb/driver/cursor/setbatchsize.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - MongoDB\Driver\Cursor::setBatchSize - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::setBatchSize - stringbatchSize - - - - - - - - - &reftitle.parameters; - - - batchSize - - - - - - - - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::setBatchSize</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/result/settypemap.xml b/reference/mongodb/mongodb/driver/cursor/settypemap.xml similarity index 82% rename from reference/mongodb/mongodb/driver/result/settypemap.xml rename to reference/mongodb/mongodb/driver/cursor/settypemap.xml index 9abba4da22..d5b2199033 100644 --- a/reference/mongodb/mongodb/driver/result/settypemap.xml +++ b/reference/mongodb/mongodb/driver/cursor/settypemap.xml @@ -1,16 +1,16 @@ - + - + - MongoDB\Driver\Result::setTypemap - Description + MongoDB\Driver\Cursor::setTypeMap + Sets a type map to use for BSON unserialization &reftitle.description; - final public ReturnTypeMongoDB\Driver\Result::setTypemap + final public voidMongoDB\Driver\Cursor::setTypeMap arraytypemap @@ -51,7 +51,7 @@ &reftitle.examples; - <function>MongoDB\Driver\Result::setTypemap</function> example + <function>MongoDB\Driver\Cursor::setTypeMap</function> example - + - + - MongoDB\Driver\Result::toArray - Description + MongoDB\Driver\Cursor::toArray + Returns an array of all result documents for this cursor &reftitle.description; - final public ReturnTypeMongoDB\Driver\Result::toArray + final public arrayMongoDB\Driver\Cursor::toArray @@ -42,7 +42,7 @@ &reftitle.examples; - <function>MongoDB\Driver\Result::toArray</function> example + <function>MongoDB\Driver\Cursor::toArray</function> example - - - - - MongoDB\Driver\Cursor::valid - Description - - - - &reftitle.description; - - public ReturnTypeMongoDB\Driver\Cursor::valid - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Cursor::valid</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/manager/executecommand.xml b/reference/mongodb/mongodb/driver/manager/executecommand.xml index d271982579..a96a4efc17 100644 --- a/reference/mongodb/mongodb/driver/manager/executecommand.xml +++ b/reference/mongodb/mongodb/driver/manager/executecommand.xml @@ -10,7 +10,7 @@ &reftitle.description; - final public MongoDB\Driver\ResultMongoDB\Driver\Manager::executeCommand + final public MongoDB\Driver\CursorMongoDB\Driver\Manager::executeCommand stringdb MongoDB\Driver\Commandcommand MongoDB\Driver\ReadPreferencereadPreference @@ -47,7 +47,7 @@ &reftitle.returnvalues; - Returns MongoDB\Driver\Result on success, &mongodb.throws.onfailure;. + Returns MongoDB\Driver\Cursor on success, &mongodb.throws.onfailure;. @@ -72,8 +72,8 @@ $manager = new MongoDB\Driver\Manager("mongodb://localhost:27017"); $command = new MongoDB\Driver\Command(array("ping" => 1)); try { - $result = $manager->executeCommand("admin", $command); - $response = $result->getResponseDocument(); + $cursor = $manager->executeCommand("admin", $command); + $response = $cursor->toArray()[0]; } catch(MongoDB\Driver\Exception $e) { echo $e->getMessage(), "\n"; exit; @@ -118,8 +118,7 @@ array(1) { &reftitle.seealso; MongoDB\Driver\Command - MongoDB\Driver\Result - MongoDB\Driver\Result::getResponseDocument + MongoDB\Driver\Cursor MongoDB\Driver\ReadPreference diff --git a/reference/mongodb/mongodb/driver/manager/executequery.xml b/reference/mongodb/mongodb/driver/manager/executequery.xml index 07099786d3..c95ba091ad 100644 --- a/reference/mongodb/mongodb/driver/manager/executequery.xml +++ b/reference/mongodb/mongodb/driver/manager/executequery.xml @@ -10,7 +10,7 @@ &reftitle.description; - final public MongoDB\Driver\ResultMongoDB\Driver\Manager::executeQuery + final public MongoDB\Driver\CursorMongoDB\Driver\Manager::executeQuery stringnamespace MongoDB\Driver\Queryquery MongoDB\Driver\ReadPreferencereadPreference @@ -40,7 +40,7 @@ &reftitle.returnvalues; - Returns MongoDB\Driver\Result on success, &mongodb.throws.onfailure;. + Returns MongoDB\Driver\Cursor on success, &mongodb.throws.onfailure;. @@ -76,9 +76,9 @@ $readPreference = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreferenc $query = new MongoDB\Driver\Query($filter, $options); $manager = new MongoDB\Driver\Manager("mongodb://localhost:27017"); -$result = $manager->executeQuery("databaseName.collectionName", $query, $readPreference); +$cursor = $manager->executeQuery("databaseName.collectionName", $query, $readPreference); -foreach($result as $document) { +foreach($cursor as $document) { echo $document["title"], "\n"; } @@ -91,8 +91,8 @@ foreach($result as $document) { &reftitle.seealso; + MongoDB\Driver\Cursor MongoDB\Driver\Query - MongoDB\Driver\Result MongoDB\Driver\ReadPreference diff --git a/reference/mongodb/mongodb/driver/query/construct.xml b/reference/mongodb/mongodb/driver/query/construct.xml index 0b71d4cba4..52cc42d874 100644 --- a/reference/mongodb/mongodb/driver/query/construct.xml +++ b/reference/mongodb/mongodb/driver/query/construct.xml @@ -148,9 +148,9 @@ $query = new MongoDB\Driver\Query($filter, $options); $manager = new MongoDB\Driver\Manager("mongodb://localhost:27017"); $readPreference = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_PRIMARY); -$result = $manager->executeQuery("databaseName.collectionName", $query, $readPreference); +$cursor = $manager->executeQuery("databaseName.collectionName", $query, $readPreference); -foreach($result as $document) { +foreach($cursor as $document) { var_dump($document); } @@ -164,7 +164,7 @@ foreach($result as $document) { &reftitle.seealso; MongoDB\Driver\Manager::executeQuery - MongoDB\Driver\Result + MongoDB\Driver\Cursor MongoDB Query Modifiers diff --git a/reference/mongodb/mongodb/driver/result.xml b/reference/mongodb/mongodb/driver/result.xml deleted file mode 100644 index e2a08289c1..0000000000 --- a/reference/mongodb/mongodb/driver/result.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - The MongoDB\Driver\Result class - MongoDB\Driver\Result - - - - -
- &reftitle.intro; - - The MongoDB\Driver\Result class encapsulates - the results of a MongoDB Command, returned by - MongoDB\Driver\Manager::executeCommand. - - - - - - - -
- - -
- &reftitle.classsynopsis; - - - - MongoDB\Driver\Result - - - - final - - MongoDB\Driver\Result - - - - IteratorAggregate - - - - - &Methods; - - - - -
- -
- - &reference.mongodb.mongodb.driver.entities.result; - -
- - diff --git a/reference/mongodb/mongodb/driver/result/construct.xml b/reference/mongodb/mongodb/driver/result/construct.xml deleted file mode 100644 index 38b4503734..0000000000 --- a/reference/mongodb/mongodb/driver/result/construct.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - MongoDB\Driver\Result::__construct - Description - - - - &reftitle.description; - - final public MongoDB\Driver\Result::__construct - Serverserver - stringresponseDocument - - - - - - - - - &reftitle.parameters; - - - server - - - - - - - - responseDocument - - - - - - - - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Result::__construct</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/result/getiterator.xml b/reference/mongodb/mongodb/driver/result/getiterator.xml deleted file mode 100644 index b4578fd958..0000000000 --- a/reference/mongodb/mongodb/driver/result/getiterator.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Result::getIterator - Description - - - - &reftitle.description; - - final public ReturnTypeMongoDB\Driver\Result::getIterator - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Result::getIterator</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/result/getserver.xml b/reference/mongodb/mongodb/driver/result/getserver.xml deleted file mode 100644 index dc35a0ff23..0000000000 --- a/reference/mongodb/mongodb/driver/result/getserver.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - MongoDB\Driver\Result::getServer - Description - - - - &reftitle.description; - - final public ReturnTypeMongoDB\Driver\Result::getServer - - - - - - - - - - &reftitle.parameters; - &no.function.parameters; - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Result::getServer</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/result/setiteratorclass.xml b/reference/mongodb/mongodb/driver/result/setiteratorclass.xml deleted file mode 100644 index f86715a110..0000000000 --- a/reference/mongodb/mongodb/driver/result/setiteratorclass.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - MongoDB\Driver\Result::setIteratorClass - Description - - - - &reftitle.description; - - final public ReturnTypeMongoDB\Driver\Result::setIteratorClass - stringclass - - - - - - - - - &reftitle.parameters; - - - class - - - - - - - - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Result::setIteratorClass</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/mongodb/driver/result/setiteratorinitcallback.xml b/reference/mongodb/mongodb/driver/result/setiteratorinitcallback.xml deleted file mode 100644 index aa698b089d..0000000000 --- a/reference/mongodb/mongodb/driver/result/setiteratorinitcallback.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - MongoDB\Driver\Result::setIteratorInitCallback - Description - - - - &reftitle.description; - - final public ReturnTypeMongoDB\Driver\Result::setIteratorInitCallback - stringcallback - - - - - - - - - &reftitle.parameters; - - - callback - - - - - - - - - - - &reftitle.returnvalues; - - - - - - - &reftitle.errors; - - - - - - - - &reftitle.examples; - - <function>MongoDB\Driver\Result::setIteratorInitCallback</function> example - - -]]> - - &example.outputs.similar; - - - - - - - - - &reftitle.seealso; - - - - - - - - diff --git a/reference/mongodb/versions.xml b/reference/mongodb/versions.xml index 6b1423a7eb..9f7bb51e95 100644 --- a/reference/mongodb/versions.xml +++ b/reference/mongodb/versions.xml @@ -15,28 +15,13 @@ - - - - - - - - - - - - - - - - - + +