php[world] 2019 — 25 years of PHP

The MongoGridFSFile class

(PECL mongo >=0.9.0)

Introduction

A database file object.

Class synopsis

MongoGridFSFile {
/* Fields */
public array $file = NULL ;
protected MongoGridFS $gridfs = NULL ;
/* Methods */
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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top