downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoId::__toString> <MongoId::getTimestamp
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoId::__set_state

(PECL mongo >= 1.0.8)

MongoId::__set_stateダミー MongoId を作成する

説明

public static MongoId MongoId::__set_state ( array $props )

この関数は PHP が内部的に使うためだけのもので、 ユーザーがコールする必要はありません。

これは、次の関数と同じ意味です。

<?php

public static function __set_state($props) {
    return new 
MongoId("000000000000000000000000");
}

?>

パラメータ

props

理論上は、新しい id を作るときに使うプロパティの配列です。 しかし、MongoId のインスタンスにはプロパティがないので、これは使いません。

返り値

値 "000000000000000000000000" を持つ新しい id を返します。



add a note add a note User Contributed Notes MongoId::__set_state
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites