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 @@ +