PHP Portal » PHP Handbuch » MongoGridfsFile::__construct

Werbung

MongoGridfsFile::__construct


(PECL mongo >=0.9.0)

MongoGridfsFile::__constructCreate a new GridFS file

Beschreibung

MongoGridfsFile::__construct ( MongoGridFS $gridfs , array $file )

Parameter-Liste

gridfs

The parent MongoGridFS instance.

file

A file from the database.

Rückgabewerte

Returns a new MongoGridFSFile.