The MongoGridFSFile class
Introduction
A database file object.
Class synopsis
MongoGridFSFile
{
/* Fields */
public
array
$file
= NULL
;
/* Methods */
}Table of Contents
- MongoGridfsFile::__construct — Create a new GridFS file
- MongoGridFSFile::getBytes — Returns this file's contents as a string of bytes
- MongoGridFSFile::getFilename — Returns this file's filename
- MongoGridFSFile::getSize — Returns this file's size
- MongoGridFSFile::write — Writes this file to the filesystem