Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
The MongoGridFSFile class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
A database file object.
Обзор классов
MongoGridFSFile {
/* Fields */
public array $MongoGridFSFile->file = NULL ;
protected MongoGridFS $gridfs = NULL ;
/* Методы */
MongoGridfsFile::__construct ( MongoGridFS $gridfs , array $file )
public string MongoGridFSFile::getBytes ( void )
public string MongoGridFSFile::getFilename ( void )
public stream MongoGridFSFile::getResource ( void )
public int MongoGridFSFile::getSize ( void )
public int MongoGridFSFile::write ([ string $filename = 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
Описание класса mongogridfsfile, примеры использования класса mongogridfsfile.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru