From 12b8e1bac88c5744c0b85aa7b042c58cc828917e Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Thu, 13 May 2010 20:09:14 +0000 Subject: [PATCH] added mongoid::__set_state docs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299361 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongoid/setstate.xml | 82 ++++++++++++++++++++++++++++ reference/mongo/versions.xml | 1 + 2 files changed, 83 insertions(+) create mode 100644 reference/mongo/mongoid/setstate.xml diff --git a/reference/mongo/mongoid/setstate.xml b/reference/mongo/mongoid/setstate.xml new file mode 100644 index 0000000000..926947a8e8 --- /dev/null +++ b/reference/mongo/mongoid/setstate.xml @@ -0,0 +1,82 @@ + + + + + + MongoId::__set_state + Create a dummy MongoId + + + + &reftitle.description; + + publicstaticMongoIdMongoId::__set_state + arrayprops + + + This function is only used by PHP internally, it shouldn't need to ever be + called by the user. + + + It is identical to the function: + + + +]]> + + + + + &reftitle.parameters; + + + + + props + + + + Theoretically, an array of properties used to create the new id. + However, as MongoId instances have no properties, this is not used. + + + + + + + + + &reftitle.returnvalues; + + A new id with the value "000000000000000000000000". + + + + + diff --git a/reference/mongo/versions.xml b/reference/mongo/versions.xml index cb63acd304..ba9d53d730 100644 --- a/reference/mongo/versions.xml +++ b/reference/mongo/versions.xml @@ -119,6 +119,7 @@ +