MongoGridFS::storeUpload
MongoGridfsFile::__construct
Mongo
PHP Manual
The MongoGridFSFile class
소개
A database file object.
클래스 개요
MongoGridFSFile
MongoGridFSFile
{
/* 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
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
MongoGridFS::storeUpload
MongoGridfsFile::__construct
Mongo
PHP Manual