View.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 [email protected] 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

Package: Zend_View
Concrete class for handling view scripts.
Parent(s)
\Zend_View_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivatebool $_useStreamWrapper = false
Whether or not to use stream wrapper if short_open_tag is false
Default valuefalseDetails
Type
bool
>VPropertyprivatebool $_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
NameTypeDescription
$configarray
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
NameTypeDescription
$flagbool
Returns
TypeDescription
\Zend_View
methodpublicuseStreamWrapper() : bool

Should the stream wrapper be used if short_open_tag is off?

Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.2.0 .