update : 2015.11.03
php.shukuma.com

검색:
 
 
Create a new GridFS file

MongoGridfsFile::__construct

(PECL mongo >=0.9.0)

MongoGridfsFile::__constructCreate a new GridFS file

설명

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

인수

gridfs

The parent MongoGridFS instance.

file

A file from the database.

반환값

Returns a new MongoGridFSFile.