svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongocursor/slaveokay.xml queries.xml

From: Date: Wed, 14 Nov 2012 14:45:58 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongocursor/slaveokay.xml queries.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10714@lists.php.net to get a copy of this message
derick Wed, 14 Nov 2012 14:45:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=328355 Log: Make sure not to mention replicaSet => true anywhere anymore. Changed paths: U phpdoc/en/trunk/reference/mongo/mongo/construct.xml U phpdoc/en/trunk/reference/mongo/mongocursor/slaveokay.xml U phpdoc/en/trunk/reference/mongo/queries.xml Modified: phpdoc/en/trunk/reference/mongo/mongo/construct.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2012-11-14 14:29:29 UTC (rev 328354) +++ phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2012-11-14 14:45:58 UTC (rev 328355) @@ -330,7 +330,7 @@ </variablelist> <para> The <literal>"replicaSet"</literal> option now takes a string, not a - boolean (although boolean is still accepted). + boolean. </para> </entry> </row> Modified: phpdoc/en/trunk/reference/mongo/mongocursor/slaveokay.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongocursor/slaveokay.xml 2012-11-14 14:29:29 UTC (rev 328354) +++ phpdoc/en/trunk/reference/mongo/mongocursor/slaveokay.xml 2012-11-14 14:45:58 UTC (rev 328355) @@ -24,7 +24,7 @@ <listitem> <simpara> You created a <classname>Mongo</classname> instance using the option - <literal>"replicaSet" => true and</literal> + <literal>"replicaSet" => "setName" and</literal> </simpara> </listitem> <listitem> Modified: phpdoc/en/trunk/reference/mongo/queries.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/queries.xml 2012-11-14 14:29:29 UTC (rev 328354) +++ phpdoc/en/trunk/reference/mongo/queries.xml 2012-11-14 14:45:58 UTC (rev 328355) @@ -63,12 +63,12 @@ // P is the primary // on the Australian client -$m1 = new Mongo("mongodb://P", array("replicaSet" => true)); +$m1 = new Mongo("mongodb://P", array("replicaSet" => 'setName')); $m1->foo->bar->find()->slaveOkay()->getNext(); echo "m1's slave is ".$m1->getSlave()."\n"; // on the European client -$m2 = new Mongo("mongodb://P", array("replicaSet" => true)); +$m2 = new Mongo("mongodb://P", array("replicaSet" => 'setName')); $m2->foo->bar->find()->slaveOkay()->getNext(); echo "m2's slave is ".$m2->getSlave()."\n";

« previous php.doc.cvs (#10714) next »