View/Stream.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_View  
Version
$Id$  

\Zend_View_Stream

Package: Zend_View
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  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_data
Data for streaming.
Details
Type
string
>VPropertyprotectedint $_pos = 0
Current stream position.
Default value0Details
Type
int
>VPropertyprotectedarray $_stat
Stream stats.
Details
Type
array

Methods

methodpublicstream_eof() : void

Tells if we are at the end of the stream.

methodpublicstream_open( $path,  $mode,  $options,  $opened_path) : void

Opens the script file and converts markup.

Parameters
NameTypeDescription
$path
$mode
$options
$opened_path
methodpublicstream_read( $count) : void

Reads from the stream.

Parameters
NameTypeDescription
$count
methodpublicstream_seek( $offset,  $whence) : void

Seek to a specific point in the stream.

Parameters
NameTypeDescription
$offset
$whence
methodpublicstream_stat() : void

Stream statistics.

methodpublicstream_tell() : void

Tells the current position in the stream.

methodpublicurl_stat() : array

Included so that __FILE__ returns the appropriate info

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .