From b75d8bd4111358e7ee0c119eacae89291d566c96 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Thu, 29 Nov 2012 01:00:58 +0000 Subject: [PATCH] Document the deprecated Mongo constructor git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328552 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongo/construct.xml | 62 +++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 reference/mongo/mongo/construct.xml diff --git a/reference/mongo/mongo/construct.xml b/reference/mongo/mongo/construct.xml new file mode 100644 index 0000000000..fa0941044c --- /dev/null +++ b/reference/mongo/mongo/construct.xml @@ -0,0 +1,62 @@ + + + + + + Mongo::__construct + The __construct purpose + + + + &reftitle.description; + + public Mongo::__construct + stringserver + arrayoptions + + + This method overwrites the MongoClient constructor + and turns off acknowledged writes. + + + Please see MongoClient::__construct for + description of the parameters. + + + + + &reftitle.returnvalues; + + + Instanciating this class will emit E_DEPRECATED + warning, and turn off acknowledged writes. + + + + Please use the MongoClient instead. + + + + + + +