From 78b7d262becacd8c1ce84001b5e09a51641629ad Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Sun, 28 Dec 2014 21:55:05 +0000 Subject: [PATCH] Revise docs for MongoCursor::dead() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335441 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocommandcursor/dead.xml | 11 +++++++---- reference/mongo/mongocursor/dead.xml | 5 +++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/reference/mongo/mongocommandcursor/dead.xml b/reference/mongo/mongocommandcursor/dead.xml index 6762e29d42..3c16e5f6d8 100644 --- a/reference/mongo/mongocommandcursor/dead.xml +++ b/reference/mongo/mongocommandcursor/dead.xml @@ -4,7 +4,7 @@ MongoCommandCursor::dead - Checks if there are documents that have not been sent yet from the database for this cursor + Checks if there are results that have not yet been sent from the database @@ -15,19 +15,22 @@ This method checks whether the MongoCommandCursor - cursor has been exhausted and hence can not return more results. + cursor has been exhausted and the database has no more results to send to the + client. A cursor being "dead" does not necessarily mean that there are no + more results available for iteration. - &reftitle.parameters; + &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; - Returns if there are more results that have not been sent to the client, yet. + Returns &true; if there are more results that have not yet been sent to the + client, and &false; otherwise. diff --git a/reference/mongo/mongocursor/dead.xml b/reference/mongo/mongocursor/dead.xml index 0c33c1d209..a27f875849 100644 --- a/reference/mongo/mongocursor/dead.xml +++ b/reference/mongo/mongocursor/dead.xml @@ -4,7 +4,7 @@ MongoCursor::dead - Checks if there are documents that have not been sent yet from the database for this cursor + Checks if there are results that have not yet been sent from the database @@ -35,7 +35,8 @@ &reftitle.returnvalues; - Returns if there are more results that have not been sent to the client, yet. + Returns &true; if there are more results that have not yet been sent to the + client, and &false; otherwise.