MongoId::__constructCreates a new id 
 Beschreibung
   public  MongoId::__construct
    ([ string|MongoId  
 $id = NULL
  ] )Parameter-Liste
 
 RückgabewerteReturns a new id. Changelog
 BeispieleBeispiel #1 MongoId::__construct example This example shows how to create a new id. This is seldom necessary, as the driver adds an id to arrays automatically before storing them in the database. 
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: 49a7011a05c677b9a916612a 49a702d5450046d3d515d10d Beispiel #2 Parameter example This example shows how to use a string parameter to initialize a MongoId with a given value. 
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: bool(true) Siehe auch
 
  |