PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The MongoGridFSFile class

(PECL mongo >=0.9.0)

简介

A database file object.

类摘要

MongoGridFSFile {
/* Fields */
public array $file = NULL ;
protected MongoGridFS $gridfs = NULL ;
/* 方法 */
public MongoGridfsFile::__construct ( MongoGridFS $gridfs , array $file )
public getBytes ( void ) : string
public getFilename ( void ) : string
public getResource ( void ) : resource
public getSize ( void ) : int
public write ([ string $filename = NULL ] ) : int
}

Table of Contents