The MongoGridFSFile class
(PECL mongo >=0.9.0)
Введение
A database file object.
Обзор классов
MongoGridFSFile
{
/* Fields */
public
array
$file
=
NULL
;/* Методы */
}Содержание
- 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::getResource — Returns a resource that can be used to read the stored file
- MongoGridFSFile::getSize — Returns this file's size
- MongoGridFSFile::write — Writes this file to the filesystem
Коментарии
404 Not Found