MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::getRetrieve a file from the database

说锟斤拷

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

锟斤拷锟斤拷

id

_id of the file to find.

锟斤拷锟斤拷值

Returns the file, if found, or NULL.