GridFS Classes
PHP Manual

The MongoGridFSFile class

Introduction

A database file object.

Class synopsis

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

Table of Contents


GridFS Classes
PHP Manual