MongoGridFS
PHP Manual

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 Manual