[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/mongo/_mongoclient.xml?=
From:       Hannes_Magnusson <bjori () php ! net>
Date:       2012-11-28 17:38:01
Message-ID: svn-bjori-1354124281-328537-1225608212 () svn ! php ! net
[Download RAW message or body]

bjori                                    Wed, 28 Nov 2012 17:38:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=328537

Log:
Fix the value of the constants in the description too

Changed paths:
    U   phpdoc/en/trunk/reference/mongo/mongoclient.xml

Modified: phpdoc/en/trunk/reference/mongo/mongoclient.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongoclient.xml	2012-11-28 16:51:29 UTC (rev 328536)
+++ phpdoc/en/trunk/reference/mongo/mongoclient.xml	2012-11-28 17:38:01 UTC (rev 328537)
@@ -166,7 +166,7 @@
      </varlistentry>
      <varlistentry xml:id="mongoclient.constants.rpprimary">
       <term><constant>MongoClient::RP_PRIMARY</constant></term>
-      <term><constant>0</constant></term>
+      <term><constant>"primary"</constant></term>
       <listitem>
        <simpara>
         <link linkend="mongo.readpreferences">Read preference</link> for the
@@ -176,7 +176,7 @@
      </varlistentry>
      <varlistentry xml:id="mongoclient.constants.rpprimarypreferred">
       <term><constant>MongoClient::RP_PRIMARY_PREFERRED</constant></term>
-      <term><constant>1</constant></term>
+      <term><constant>"primaryPreferred"</constant></term>
       <listitem>
        <simpara>
         <link linkend="mongo.readpreferences">Read preference</link> for
@@ -186,7 +186,7 @@
      </varlistentry>
      <varlistentry xml:id="mongoclient.constants.rpsecondary">
       <term><constant>MongoClient::RP_SECONDARY</constant></term>
-      <term><constant>2</constant></term>
+      <term><constant>"secondary"</constant></term>
       <listitem>
        <simpara>
         <link linkend="mongo.readpreferences">Read preference</link> for a
@@ -196,7 +196,7 @@
      </varlistentry>
      <varlistentry xml:id="mongoclient.constants.rpsecondarypreferred">
       <term><constant>MongoClient::RP_SECONDARY_PREFERRED</constant></term>
-      <term><constant>3</constant></term>
+      <term><constant>"secondaryPreferred"</constant></term>
       <listitem>
        <simpara>
         <link linkend="mongo.readpreferences">Read preference</link> for
@@ -206,7 +206,7 @@
      </varlistentry>
      <varlistentry xml:id="mongoclient.constants.rpnearest">
       <term><constant>MongoClient::RP_NEAREST</constant></term>
-      <term><constant>4</constant></term>
+      <term><constant>"nearest"</constant></term>
       <listitem>
        <simpara>
         <link linkend="mongo.readpreferences">Read preference</link> for the



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic