PHP 7.0.6 Released

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 string getBytes ( void )
public string getFilename ( void )
public resource getResource ( void )
public int getSize ( void )
public int write ([ string $filename = NULL ] )
}

Table of Contents

User Contributed Notes

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