cvs: phpdoc /en/reference/mongo examples.xml /en/reference/mongo/mongodate construct.xml
| From: | Kristina Chodorow | Date: | Thu, 04 Jun 2009 19:49:08 +0000 |
| Subject: | cvs: phpdoc /en/reference/mongo examples.xml /en/reference/mongo/mongodate construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4118@lists.php.net to get a copy of this message | ||
kristina Thu Jun 4 19:49:08 2009 UTC
Modified files:
/phpdoc/en/reference/mongo examples.xml
/phpdoc/en/reference/mongo/mongodate construct.xml
Log:
minor fixes
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/examples.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/mongo/examples.xml
diff -u phpdoc/en/reference/mongo/examples.xml:1.4 phpdoc/en/reference/mongo/examples.xml:1.5
--- phpdoc/en/reference/mongo/examples.xml:1.4 Fri May 29 20:03:49 2009
+++ phpdoc/en/reference/mongo/examples.xml Thu Jun 4 19:49:07 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<chapter xml:id="mongo.examples" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.examples;
@@ -20,7 +20,7 @@
$m = new Mongo();
// select a database
-$db = $m->selectDatabase("comedy");
+$db = $m->selectDB("comedy");
$collection = $db->selectCollection("cartoons");
// add an element
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mongo/mongodate/construct.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/mongo/mongodate/construct.xml
diff -u phpdoc/en/reference/mongo/mongodate/construct.xml:1.1
phpdoc/en/reference/mongo/mongodate/construct.xml:1.2
--- phpdoc/en/reference/mongo/mongodate/construct.xml:1.1 Tue Mar 24 18:46:00 2009
+++ phpdoc/en/reference/mongo/mongodate/construct.xml Thu Jun 4 19:49:08 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry xml:id="mongodate.construct" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,10 +11,11 @@
&reftitle.description;
<methodsynopsis>
<methodname>MongoDate::__construct</methodname>
- <methodparam
choice="opt"><type>long</type><parameter>secs</parameter></methodparam>
+ <methodparam
choice="opt"><type>long</type><parameter>sec</parameter></methodparam>
+ <methodparam
choice="opt"><type>long</type><parameter>usec</parameter></methodparam>
</methodsynopsis>
<para>
- 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.
</para>
</refsect1>
@@ -24,7 +25,7 @@
<variablelist>
<varlistentry>
<term>
- <parameter>secs</parameter>
+ <parameter>sec</parameter>
</term>
<listitem>
<para>
@@ -32,6 +33,16 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>usec</parameter>
+ </term>
+ <listitem>
+ <para>
+ Microseconds.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -39,7 +50,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the new date.
+ Returns this new date.
</para>
</refsect1>