From 98f35b218a368f78c774369b535c2ce9474d2cec Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Thu, 4 Jun 2009 19:49:08 +0000 Subject: [PATCH] minor fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281673 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/examples.xml | 4 ++-- reference/mongo/mongodate/construct.xml | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/reference/mongo/examples.xml b/reference/mongo/examples.xml index f6530cd6b3..49121b4c6c 100644 --- a/reference/mongo/examples.xml +++ b/reference/mongo/examples.xml @@ -1,5 +1,5 @@ - + &reftitle.examples; @@ -20,7 +20,7 @@ include "mongo.php"; $m = new Mongo(); // select a database -$db = $m->selectDatabase("comedy"); +$db = $m->selectDB("comedy"); $collection = $db->selectCollection("cartoons"); // add an element diff --git a/reference/mongo/mongodate/construct.xml b/reference/mongo/mongodate/construct.xml index d6734ddb0b..a50861f73c 100644 --- a/reference/mongo/mongodate/construct.xml +++ b/reference/mongo/mongodate/construct.xml @@ -1,5 +1,5 @@ - + @@ -11,10 +11,11 @@ &reftitle.description; MongoDate::__construct - longsecs + longsec + longusec - Creates a new date. If no parameter is given, the current time is used. + Creates a new date. If no parameters are given, the current time is used. @@ -24,7 +25,7 @@ - secs + sec @@ -32,6 +33,16 @@ + + + usec + + + + Microseconds. + + + @@ -39,7 +50,7 @@ &reftitle.returnvalues; - Returns the new date. + Returns this new date.