PHP Класс Phalcon\Db\Adapter\MongoDB\GridFS\StreamWrapper

См. также: Bucket::openUploadStream()
См. также: Bucket::openDownloadStream()
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$context Stream context (set by PHP)

Открытые методы

Метод Описание
getId ( )
register ( string $protocol = 'gridfs' ) Register the GridFS stream wrapper.
stream_close ( ) @codingStandardsIgnoreStart
stream_eof ( ) @codingStandardsIgnoreStart
stream_open ( $path, $mode, $options, &$openedPath ) @codingStandardsIgnoreStart
stream_read ( $count ) @codingStandardsIgnoreStart
stream_stat ( ) @codingStandardsIgnoreStart
stream_write ( $data ) @codingStandardsIgnoreStart

Приватные методы

Метод Описание
getStatTemplate ( ) : array Returns a stat template with default values.
initProtocol ( string $path ) Initialize the protocol from the given path.
initReadableStream ( ) : boolean Initialize the internal stream for reading.
initWritableStream ( ) : boolean Initialize the internal stream for writing.

Описание методов

getId() публичный метод

public getId ( )

register() публичный статический метод

Register the GridFS stream wrapper.
public static register ( string $protocol = 'gridfs' )
$protocol string Protocol to use for stream_wrapper_register()

stream_close() публичный метод

@codingStandardsIgnoreStart
public stream_close ( )

stream_eof() публичный метод

@codingStandardsIgnoreStart
public stream_eof ( )

stream_open() публичный метод

@codingStandardsIgnoreStart
public stream_open ( $path, $mode, $options, &$openedPath )

stream_read() публичный метод

@codingStandardsIgnoreStart
public stream_read ( $count )

stream_stat() публичный метод

@codingStandardsIgnoreStart
public stream_stat ( )

stream_write() публичный метод

@codingStandardsIgnoreStart
public stream_write ( $data )

Описание свойств

$context публичное свойство

Stream context (set by PHP)
public $context