MongoGridFS::get

Retrieve a file from the database

Description

public MongoGridFSFile MongoGridFS::get ( mixed $id )

Parameters

id

_id of the file to find.

Return Values

Returns the file, if found, or NULL.