PHP Class rex_stream, redaxo

Example: '); ?>
See also: http://www.php.net/manual/en/class.streamwrapper.php
Author: gharlan
显示文件 Open project: redaxo/redaxo Class Usage Examples

Public Methods

Method Description
factory ( string $path, string $content ) : string Prepares a new stream.
stream_eof ( )
stream_flush ( )
stream_open ( $path, $mode, $options, &$opened_path )
stream_read ( $count )
stream_seek ( $offset, $whence = SEEK_SET )
stream_stat ( )
stream_tell ( )
url_stat ( )

Method Details

factory() public static method

Prepares a new stream.
public static factory ( string $path, string $content ) : string
$path string Virtual path which should describe the content (e.g. "template/1"), only relevant for error messages
$content string Content which will be included
return string Full path with protocol (e.g. "rex:///template/1")

stream_eof() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-eof.php
public stream_eof ( )

stream_flush() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-flush.php
public stream_flush ( )

stream_open() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-open.php
public stream_open ( $path, $mode, $options, &$opened_path )

stream_read() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-read.php
public stream_read ( $count )

stream_seek() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-seek.php
public stream_seek ( $offset, $whence = SEEK_SET )

stream_stat() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-stat.php
public stream_stat ( )

stream_tell() public method

See also: http://www.php.net/manual/en/streamwrapper.stream-tell.php
public stream_tell ( )

url_stat() public method

See also: http://www.php.net/manual/en/streamwrapper.url-stat.php
public url_stat ( )