MongoGridFSFile
PHP Manual

MongoGridfsFile::__construct

(PECL mongo >=0.9.0)

MongoGridfsFile::__constructCreate a new GridFS file

Opis

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

Parametry

gridfs

The parent MongoGridFS instance.

file

A file from the database.

Zwracane wartoĊ›ci

Returns a new MongoGridFSFile.


MongoGridFSFile
PHP Manual