MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::getRetrieve a file from the database

Descrierea

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

Parametri

id

_id of the file to find.

Valorile întoarse

Returns the file, if found, or NULL.