__construct()
addPath()
addPaths()
clearPaths()
getDefaultSuffix()
getLastLookupFailure()
getPaths()
isLfiProtectionOn()
normalizePath()
resolve()
setDefaultSuffix()
setLfiProtection()
setOptions()
setPaths()
setUseStreamWrapper()
useStreamWrapper()
$defaultSuffix
$lastLookupFailure
$lfiProtectionOn
$paths
$useStreamWrapper
$useViewStream
FAILURE_NOT_FOUND
FAILURE_NO_PATHS
Resolves view scripts based on a stack of paths
__construct(null | array | \Traversable $options)
nullarray\Traversable
addPath(string $path) : \Zend\View\Resolver\TemplatePathStack
clearPaths() : void
getDefaultSuffix() : string
string
getLastLookupFailure() : false | string
false
string
isLfiProtectionOn() : bool
bool
normalizePath(string $path) : string
string
string
resolve(string $name, \Zend\View\Renderer\RendererInterface $renderer) : string
string
null\Zend\View\Renderer\RendererInterface
\Zend\View\Exception\DomainException |
---|
string
setDefaultSuffix(string $defaultSuffix) : \Zend\View\Resolver\TemplatePathStack
setOptions(array | \Traversable $options) : void
setPaths(\Zend\Stdlib\SplStack | array $paths) : \Zend\View\Resolver\TemplatePathStack
\Zend\Stdlib\SplStackarray
\Zend\View\Exception\InvalidArgumentException |
---|
setUseStreamWrapper(bool $flag) : \Zend\View\Resolver\TemplatePathStack
useStreamWrapper() : bool
Returns true if the use_stream_wrapper flag is set, and if short_open_tag is disabled.
bool
$defaultSuffix : string
Appends this suffix if the template requested does not use it.
$lastLookupFailure : false | string
$lfiProtectionOn : bool
$useStreamWrapper
$useViewStream
FAILURE_NOT_FOUND
FAILURE_NO_PATHS