2038. Class

2038.1. Zend\View\Stream

Stream wrapper to convert markup of mostly-PHP templates into PHP prior to include().

Based in large part on the example at http://www.php.net/manual/en/function.stream-wrapper-register.php

As well as the example provided at:
http://mikenaberezny.com/2006/02/19/symphony-templates-ruby-erb/
written by
Mike Naberezny (@link http://mikenaberezny.com) Paul M. Jones (@link http://paul-m-jones.com)

2038.1.1. Methods

2038.1.1.1. stream_open

stream_open()

Opens the script file and converts markup.

2038.1.1.2. url_stat

url_stat()

Included so that __FILE__ returns the appropriate info

Return type:array

2038.1.1.3. stream_read

stream_read()

Reads from the stream.

2038.1.1.4. stream_tell

stream_tell()

Tells the current position in the stream.

2038.1.1.5. stream_eof

stream_eof()

Tells if we are at the end of the stream.

2038.1.1.6. stream_stat

stream_stat()

Stream statistics.

2038.1.1.7. stream_seek

stream_seek()

Seek to a specific point in the stream.