Base class for targetted placeholder helpers

package Zend_View
subpackage Helper
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_View_Helper_Abstract

 Methods

Overload

__call(string $method, array $args) : mixed

Proxy to container methods

Parameters

$method

string

$args

array

Returns

mixed

Constructor

__construct() : void

Overloading: retrieve property

__get(string $key) : mixed

Parameters

$key

string

Returns

mixed

Overloading: check if property is set

__isset(string $key) : boolean

Parameters

$key

string

Returns

boolean

Overloading: set property value

__set(string $key, mixed $value) : void

Parameters

$key

string

$value

mixed

Cast to string representation

__toString() : string

Returns

string

Overloading: unset property

__unset(string $key) : void

Parameters

$key

string

Countable

count() : integer

Returns

integer

Strategy pattern: currently unutilized

direct() : void
Inherited
inherited_from \Zend_View_Helper_Interface::direct()

Return whether autoEscaping is enabled or disabled

getAutoEscape() 

return bool

Retrieve placeholder container

getContainer() : \Zend_View_Helper_Placeholder_Container_Abstract

Returns

\Zend_View_Helper_Placeholder_Container_Abstract

IteratorAggregate: get Iterator

getIterator() : \Iterator

Returns

\Iterator

Retrieve registry

getRegistry() : \Zend_View_Helper_Placeholder_Registry

Returns

\Zend_View_Helper_Placeholder_Registry

ArrayAccess: offsetExists

offsetExists(string|integer $offset) : boolean

Parameters

$offset

stringinteger

Returns

boolean

ArrayAccess: offsetGet

offsetGet(string|integer $offset) : mixed

Parameters

$offset

stringinteger

Returns

mixed

ArrayAccess: offsetSet

offsetSet(string|integer $offset, mixed $value) : void

Parameters

$offset

stringinteger

$value

mixed

ArrayAccess: offsetUnset

offsetUnset(string|integer $offset) : void

Parameters

$offset

stringinteger

Set whether or not auto escaping should be used

setAutoEscape(boolean $autoEscape = true) : \Zend_View_Helper_Placeholder_Container_Standalone

Parameters

$autoEscape

boolean

whether or not to auto escape output

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Set container on which to operate

setContainer(\Zend_View_Helper_Placeholder_Container_Abstract $container) : \Zend_View_Helper_Placeholder_Container_Standalone

Parameters

$container

\Zend_View_Helper_Placeholder_Container_Abstract

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Set registry object

setRegistry(\Zend_View_Helper_Placeholder_Registry $registry) : \Zend_View_Helper_Placeholder_Container_Standalone

Parameters

$registry

\Zend_View_Helper_Placeholder_Registry

Returns

\Zend_View_Helper_Placeholder_Container_Standalone

Set the View object

setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from \Zend_View_Helper_Interface::setView()

Parameters

$view

\Zend_View_Interface

Returns

\Zend_View_Helper_Abstract

String representation

toString() : string

Returns

string

Escape a string

_escape(string $string) : string

Parameters

$string

string

Returns

string

 Properties

 

View object

$view : \Zend_View_Interface

Default

null
 

Flag wheter to automatically escape output, must also be enforced in the child class if __toString/toString is overriden

$_autoEscape : \book

Default

true
 

$_container

$_container : \Zend_View_Helper_Placeholder_Container_Abstract

Default

 

Registry key under which container registers itself

$_regKey : string

Default

 

$_registry

$_registry : \Zend_View_Helper_Placeholder_Registry

Default