API Documentation

View.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
version
$Id: View.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_View

Description

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.

Zend_View

Extends from
Zend_View_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
Properties
$_useViewStream
$_useStreamWrapper
Methods
__construct
setUseStreamWrapper
useStreamWrapper
_run

Description

Concrete class for handling view scripts.

Properties

$_useStreamWrapper

bool $_useStreamWrapper = 'false'

Whether or not to use stream wrapper if short_open_tag is false

Details

$_useStreamWrapper
bool
visibility
private
default
false
final
false
static
false

$_useViewStream

bool $_useViewStream = 'false'

Whether or not to use streams to mimic short tags

Details

$_useViewStream
bool
visibility
private
default
false
final
false
static
false

Methods

__construct

__construct( array $config = array ) : void

Constructor

Register Zend_View_Stream stream wrapper if short tags are disabled.

Arguments
$config
array
Details
visibility
public
final
false
static
false

_run

_run( ) :

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

Details
visibility
protected
final
false
static
false

setUseStreamWrapper

setUseStreamWrapper( bool $flag ) : Zend_View

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

Arguments
$flag
bool
Output
Zend_View
Details
visibility
public
final
false
static
false

useStreamWrapper

useStreamWrapper( ) : bool

Should the stream wrapper be used if short_open_tag is off?

Output
bool
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.