298. Class

298.1. Zend\View\Helper\Placeholder\Container\AbstractStandalone

Base class for targeted placeholder helpers

298.1.1. Methods

298.1.1.1. __construct

__construct()

Constructor

298.1.1.2. getRegistry

getRegistry()

Retrieve registry

Return type:ZendViewHelperPlaceholderRegistry

298.1.1.3. setRegistry

setRegistry()

Set registry object

Parameters:ZendViewHelperPlaceholderRegistry
Return type:ZendViewHelperPlaceholderContainerAbstractStandalone

298.1.1.4. setEscaper

setEscaper()

Set Escaper instance

Parameters:Escaper
Return type:AbstractStandalone

298.1.1.5. getEscaper

getEscaper()

Get Escaper instance

Lazy-loads one if none available

Return type:mixed

298.1.1.6. setAutoEscape

setAutoEscape()

Set whether or not auto escaping should be used

Parameters:bool – whether or not to auto escape output
Return type:ZendViewHelperPlaceholderContainerAbstractStandalone

298.1.1.7. getAutoEscape

getAutoEscape()

Return whether autoEscaping is enabled or disabled

return bool

298.1.1.8. escape

escape()

Escape a string

Parameters:string
Return type:string

298.1.1.9. setContainer

setContainer()

Set container on which to operate

Parameters:ZendViewHelperPlaceholderContainerAbstractContainer
Return type:ZendViewHelperPlaceholderContainerAbstractStandalone

298.1.1.10. getContainer

getContainer()

Retrieve placeholder container

Return type:ZendViewHelperPlaceholderContainerAbstractContainer

298.1.1.11. __set

__set()

Overloading: set property value

Parameters:
  • string
  • mixed
Return type:

void

298.1.1.12. __get

__get()

Overloading: retrieve property

Parameters:string
Return type:mixed

298.1.1.13. __isset

__isset()

Overloading: check if property is set

Parameters:string
Return type:bool

298.1.1.14. __unset

__unset()

Overloading: unset property

Parameters:string
Return type:void

298.1.1.15. __call

__call()

Overload

Proxy to container methods

Parameters:
  • string
  • array
Return type:

mixed

Throws :

ExceptionBadMethodCallException

298.1.1.16. toString

toString()

String representation

Return type:string

298.1.1.17. __toString

__toString()

Cast to string representation

Return type:string

298.1.1.18. count

count()

Countable

Return type:int

298.1.1.19. offsetExists

offsetExists()

ArrayAccess: offsetExists

Parameters:string|int
Return type:bool

298.1.1.20. offsetGet

offsetGet()

ArrayAccess: offsetGet

Parameters:string|int
Return type:mixed

298.1.1.21. offsetSet

offsetSet()

ArrayAccess: offsetSet

Parameters:
  • string|int
  • mixed
Return type:

void

298.1.1.22. offsetUnset

offsetUnset()

ArrayAccess: offsetUnset

Parameters:string|int
Return type:void

298.1.1.23. getIterator

getIterator()

IteratorAggregate: get Iterator

Return type:Iterator