PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::getRetrieve 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.

PHP Manual