__invoke()
getEncoding()
getEscaper()
getView()
setEncoding()
setEscaper()
setView()
escape()
$encoding
$escaper
$view
RECURSE_ARRAY
RECURSE_NONE
RECURSE_OBJECT
Helper for escaping values
__invoke(mixed $value, int $recurse) : mixed
mixed
int
Expects one of the recursion constants; used to decide whether or not to recurse the given value when escaping
\Zend\View\Exception\InvalidArgumentException |
---|
mixed
Given a scalar, a scalar value is returned. Given an object, with the $recurse flag not allowing object recursion, returns a string. Otherwise, returns an array.getEncoding() : string
string
getView() : null | \Zend\View\Renderer\RendererInterface
inherited_from | \Zend\View\Helper\AbstractHelper::getView() |
---|
setEncoding(string $encoding) : \Zend\View\Helper\Escaper\AbstractHelper
setEscaper(\Zend\Escaper\Escaper $escaper) : \Zend\View\Helper\Escaper\AbstractHelper
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
inherited_from | \Zend\View\Helper\AbstractHelper::setView() |
---|
escape(string $value) : string
string
string
$encoding : string
$view : \Zend\View\Renderer\RendererInterface
inherited_from | \Zend\View\Helper\AbstractHelper::$$view |
---|
RECURSE_ARRAY
RECURSE_NONE
const | Recursion constants |
---|
RECURSE_OBJECT