API Documentation

Zend/View.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_View  
Version
$Id: View.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_View

Package: Zend\View

Concrete class for handling view scripts.

Parent(s)
\Zend_View_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprivatebool  $_useStreamWrapper= 'false'

Whether or not to use stream wrapper if short_open_tag is false

Default valuefalseDetails
Type
bool
Propertyprivatebool  $_useViewStream= 'false'

Whether or not to use streams to mimic short tags

Default valuefalseDetails
Type
bool

Methods

methodpublic__construct( array $config = array() ) : void

Constructor

Register Zend_View_Stream stream wrapper if short tags are disabled.

Parameters
Name Type Description
$config array
methodprotected_run( ) : void

Includes the view script in a scope with only public $this variables.

methodpublicsetUseStreamWrapper( bool $flag ) : \Zend_View

Set flag indicating if stream wrapper should be used if short_open_tag is off

Parameters
Name Type Description
$flag bool
Returns
Type Description
\Zend_View
methodpublicuseStreamWrapper( ) : bool

Should the stream wrapper be used if short_open_tag is off?

Returns
Type Description
bool
Documentation was generated by DocBlox 0.15.1.