MongoGridFSFile
在线手册:中文  英文

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.


MongoGridFSFile
在线手册:中文  英文
易百教程