MongoGridFSFile::getResource(Информация о версии неизвестна, возможно, только в SVN) MongoGridFSFile::getResource — Returns a resource that can be used to read the stored file Описание
public stream MongoGridFSFile::getResource
( void
)
This method returns a stream resource that can be used with all file functions in PHP. The contents of the file are pulled out of MongoDB on the fly, so that the whole file does not have to be loaded into memory first. At most two GridFSFile chunks will be loaded in memory. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns a resource that can be used to read the file with ПримерыПример #1 MongoGridFSFile::getResource() example
<?php |
||