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)

category Zend
package Zend_View
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Tells if we are at the end of the stream.

stream_eof() 

Opens the script file and converts markup.

stream_open($path, $mode, $options, $opened_path) 

Parameters

$path

$mode

$options

$opened_path

Reads from the stream.

stream_read($count) 

Parameters

$count

Seek to a specific point in the stream.

stream_seek($offset, $whence) 

Parameters

$offset

$whence

Stream statistics.

stream_stat() 

Tells the current position in the stream.

stream_tell() 

Included so that __FILE__ returns the appropriate info

url_stat() : array

Returns

array

 Properties

 

Data for streaming.

$_data : string

Default

 

Current stream position.

$_pos : integer

Default

0
 

Stream stats.

$_stat : array

Default