Fully Qualified Name: | Zend\View\Strategy\FeedStrategy |
Extends: | AbstractListenerAggregate |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | FeedStrategy |
attach() | {@inheritDoc} | FeedStrategy |
detach() | {@inheritDoc} | AbstractListenerAggregate |
injectResponse() | Inject the response with the feed payload and appropriate Content-Type header | FeedStrategy |
selectRenderer() | Detect if we should use the FeedRenderer based on model type | FeedStrategy |
Constructor
Parameter Name | Type | Description |
---|---|---|
$renderer | \FeedRenderer |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events | ||
$priority |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events |
Returns:
Inject the response with the feed payload and appropriate Content-Type header
Parameter Name | Type | Description |
---|---|---|
$e | \ViewEvent |
Returns: void
Detect if we should use the FeedRenderer based on model type
Parameter Name | Type | Description |
---|---|---|
$e | \ViewEvent |
Returns: null|\FeedRenderer