Zend Framework
1.12
|
Public Member Functions | |
stream_open ($path, $mode, $options, &$opened_path) | |
Opens the script file and converts markup. | |
url_stat () | |
Included so that __FILE__ returns the appropriate info. | |
stream_read ($count) | |
Reads from the stream. | |
stream_tell () | |
Tells the current position in the stream. | |
stream_eof () | |
Tells if we are at the end of the stream. | |
stream_stat () | |
Stream statistics. | |
stream_seek ($offset, $whence) | |
Seek to a specific point in the stream. | |
Protected Attributes | |
$_pos = 0 | |
$_data | |
$_stat | |
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.
If reading the file failed, update our local stat store to reflect the real stat of the file, then return on failure
Convert <?= ?> to long-form <?php echo ?> and <? ?> to <?php ?>
file_get_contents() won't update PHP's stat cache, so we grab a stat of the file to prevent additional reads should the script be requested again, which will make include() happy.
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 | ( | ) |
Included so that __FILE__ returns the appropriate info.
|
protected |
|
protected |
|
protected |