Zend\View\Helper\Navigation\Breadcrumbs::renderPartial
Renders the given $container by invoking the partial view helper
The container will simply be passed on as a model to the view script, so in the script it will be available in <code>$this->container</code>.
Signature
public function renderPartial([AbstractContainer
$container = null,
[string|array
$partial = null]] )
Parameters
$container
— object- [optional] container to pass to view script.
Default is to use the container registered
in the helper. $partial
— object- [optional] partial view script to use.
Default is to use the partial registered
in the helper. If an array is given, it
is expected to contain two values; the
partial view script to use, and the module
where the script can be found.
Returns
- string
- helper output
Errors/Exceptions
-
RuntimeException
- if no partial provided
-
InvalidArgumentException
- if partial is invalid array