1403. Class

1403.1. Zend\View\Helper\Placeholder\Registry

Registry for placeholder containers

1403.1.1. Methods

1403.1.1.1. getRegistry

getRegistry()

Retrieve or create registry instance

Return type:Registry

1403.1.1.2. unsetRegistry

unsetRegistry()

Unset the singleton

Primarily useful for testing purposes; sets {@link $instance} to null.

Return type:void

1403.1.1.3. createContainer

createContainer()

createContainer

Parameters:
  • string
  • array
Return type:

ContainerAbstractContainer

1403.1.1.4. getContainer

getContainer()

Retrieve a placeholder container

Parameters:string
Return type:ContainerAbstractContainer

1403.1.1.5. containerExists

containerExists()

Does a particular container exist?

Parameters:string
Return type:bool

1403.1.1.6. setContainer

setContainer()

Set the container for an item in the registry

Parameters:
  • string
  • ContainerAbstractContainer
Return type:

Registry

1403.1.1.7. deleteContainer

deleteContainer()

Delete a container

Parameters:string
Return type:bool

1403.1.1.8. setContainerClass

setContainerClass()

Set the container class to use

Parameters:string
Throws ExceptionInvalidArgumentException:
 
Throws ExceptionDomainException:
 
Return type:Registry

1403.1.1.9. getContainerClass

getContainerClass()

Retrieve the container class

Return type:string