Fully Qualified Name: | Zend\View\Resolver\RelativeFallbackResolver |
Implements: | ResolverInterface |
Relative fallback resolver - resolves to view templates in a sub-path of the currently set view model's template (if the current renderer has the `view_model` plugin set).
This allows for usage of partial template paths such as some/partial
, resolving to
my/module/script/path/some/partial.phtml
, while rendering template my/module/script/path/my-view
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | RelativeFallbackResolver |
resolve() | {@inheritDoc} | RelativeFallbackResolver |
Constructor
Parameter Name | Type | Description |
---|---|---|
$resolver | \ResolverInterface |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$name | ||
$renderer |
Returns: