svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongodb/authenticate.xml mongodb/command.xml
| From: | Kristina Chodorow | Date: | Wed, 04 Aug 2010 19:01:27 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongodb/authenticate.xml mongodb/command.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6957@lists.php.net to get a copy of this message | ||
kristina Wed, 04 Aug 2010 19:01:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301861
Log:
added some docuhub links
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongo/construct.xml
U phpdoc/en/trunk/reference/mongo/mongodb/authenticate.xml
U phpdoc/en/trunk/reference/mongo/mongodb/command.xml
Modified: phpdoc/en/trunk/reference/mongo/mongo/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2010-08-04 19:01:04 UTC (rev 301860)
+++ phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2010-08-04 19:01:27 UTC (rev 301861)
@@ -292,6 +292,10 @@
<para>
If you include seeds from two separate replica sets, behavior is undefined.
</para>
+ <para>See the
+ <link xlink:href="&url.mongodb.dochub.rs;">core documentation</link>
on
+ replica sets for more information.
+ </para>
</example>
<example>
<title><function>Mongo::__construct</function> persistent connection
example</title>
Modified: phpdoc/en/trunk/reference/mongo/mongodb/authenticate.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongodb/authenticate.xml 2010-08-04 19:01:04 UTC (rev 301860)
+++ phpdoc/en/trunk/reference/mongo/mongodb/authenticate.xml 2010-08-04 19:01:27 UTC (rev 301861)
@@ -19,6 +19,14 @@
before the database will allow you to do anything.
</para>
<para>
+ In general, you should use the authenticate built into
+ <function>Mongo::__construct</function> in preference to this method. If you
+ authenticate on connection and the connection drops and reconnects during
+ your session, you'll be reauthenticated. If you manually authenticated using
+ this method and the connection drops, you'll have to call this method again
+ once you're reconnected.
+ </para>
+ <para>
This method is identical to running:
<programlisting role="php">
<![CDATA[
Modified: phpdoc/en/trunk/reference/mongo/mongodb/command.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongodb/command.xml 2010-08-04 19:01:04 UTC (rev 301860)
+++ phpdoc/en/trunk/reference/mongo/mongodb/command.xml 2010-08-04 19:01:27 UTC (rev 301861)
@@ -162,7 +162,13 @@
<refsect1 role="seealso">
&reftitle.seealso;
<para>
- MongoDB core docs on <link
xlink:href="&url.mongodb.dochub.commands;">database commands</link>.
+ MongoDB core docs on
+ <link xlink:href="&url.mongodb.dochub.commands;">database
commands</link>
+ and on individual commands:
+ <link
xlink:href="&url.mongodb.dochub.findandmodify;">findAndModify</link>,
+ <link
xlink:href="&url.mongodb.dochub.getlasterror;">getLastError</link>, and
+ <link xlink:href="&url.mongodb.dochub.repair;">repair</link> (dozens
more
+ exist, there are merely a few examples).
</para>
</refsect1>
</refentry>