Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
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)
string $_data = ''
Data for streaming.
int $_pos = '0'
Current stream position.
array $_stat = ''
Stream stats.
stream_eof(
)
:
Tells if we are at the end of the stream.
stream_open(
$path, $mode, $options, $opened_path
)
:
Opens the script file and converts markup.
stream_read(
$count
)
:
Reads from the stream.
stream_seek(
$offset, $whence
)
:
Seek to a specific point in the stream.
stream_stat(
)
:
Stream statistics.
stream_tell(
)
:
Tells the current position in the stream.
url_stat(
)
:
array
Included so that __FILE__ returns the appropriate info