MongoGridFS
PHP 手册

MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::getRetrieve a file from the database

说明

public MongoGridFSFile MongoGridFS::get ( mixed $id )

参数

id

_id of the file to find.

返回值

Returns the file, if found, or NULL.


MongoGridFS
PHP 手册