MongoGridFS::findOne
MongoGridFS::put
MongoGridFS
PHP Manual

# MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::get — Retrieve a file from the database

### Beschreibung

public MongoGridFSFile MongoGridFS::get ( mixed `$id` )

### Parameter-Liste

`id`

  _id of the file to find.

### Rückgabewerte

Returns the file, if found, or `NULL`.

MongoGridFS::findOne
MongoGridFS::put
MongoGridFS
PHP Manual