976. Class

976.1. Zend\View\Helper\Placeholder

Helper for passing data between otherwise segregated Views. It’s called Placeholder to make its typical usage obvious, but can be used just as easily for non-Placeholder things. That said, the support for this is only guaranteed to effect subsequently rendered templates, and of course Layouts.

976.1.1. Methods

976.1.1.1. __construct

__construct()

Constructor

Retrieve container registry from PlaceholderRegistry, or create new one and register it.

976.1.1.2. __invoke

__invoke()

Placeholder helper

Parameters:string
Return type:ZendViewHelperPlaceholderContainerAbstractContainer
Throws :InvalidArgumentException

976.1.1.3. getRegistry

getRegistry()

Retrieve the registry

Return type:ZendViewHelperPlaceholderRegistry

Project Versions

Table Of Contents

Previous topic

975. Class

Next topic

977. Class

This Page