Base class for targeted placeholder helpers

package Zend_View
subpackage Helper

 Methods

Overload

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

Proxy to container methods

Parameters

$method

string

$args

array

Exceptions

\Zend\View\Exception\BadMethodCallException

Returns

mixed

Constructor

__construct() 

Overloading: retrieve property

__get(string $key) : mixed

Parameters

$key

string

Returns

mixed

Overloading: check if property is set

__isset(string $key) : bool

Parameters

$key

string

Returns

bool

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() : int

Returns

int

Return whether autoEscaping is enabled or disabled

getAutoEscape() 

return bool

Get Escaper instance

getEscaper($enc) : mixed

Lazy-loads one if none available

Parameters

$enc

Returns

mixed

IteratorAggregate: get Iterator

getIterator() : \Iterator

Returns

\Iterator

Get the view object

getView() : null | \Zend\View\Renderer\RendererInterface
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::getView()

Returns

ArrayAccess: offsetExists

offsetExists(string | int $offset) : bool

Parameters

$offset

stringint

Returns

bool

ArrayAccess: offsetGet

offsetGet(string | int $offset) : mixed

Parameters

$offset

stringint

Returns

mixed

ArrayAccess: offsetSet

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

Parameters

$offset

stringint

$value

mixed

ArrayAccess: offsetUnset

offsetUnset(string | int $offset) : void

Parameters

$offset

stringint

Set whether or not auto escaping should be used

setAutoEscape(bool $autoEscape) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone

Parameters

$autoEscape

bool

whether or not to auto escape output

Returns

Set container on which to operate

setContainer(\Zend\View\Helper\Placeholder\Container\AbstractContainer $container) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone

Set Escaper instance

setEscaper(\Zend\Escaper\Escaper $escaper) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone

Set registry object

setRegistry(\Zend\View\Helper\Placeholder\Registry $registry) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone

Set the View object

setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::setView()

Parameters

Returns

String representation

toString() : string

Returns

string

Escape a string

escape(string $string) : string

Parameters

$string

string

Returns

string

 Properties

 

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

$autoEscape : bool

   

$escapers

$escapers : \Zend\Escaper\Escaper[]

 

Registry key under which container registers itself

$regKey : string

 

$registry

$registry : \Zend\View\Helper\Placeholder\Registry

 

View object

$view : \Zend\View\Renderer\RendererInterface
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::$$view