Class FeedStrategy

Summary

Fully Qualified Name: Zend\View\Strategy\FeedStrategy
Extends: AbstractListenerAggregate

Description

Methods

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

Method Details

__construct()

Constructor

Parameter Name Type Description
$renderer \FeedRenderer

Returns:

attach()

{@inheritDoc}

Parameter Name Type Description
$events
$priority

Returns:

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

injectResponse()

Inject the response with the feed payload and appropriate Content-Type header

Parameter Name Type Description
$e \ViewEvent

Returns: void

selectRenderer()

Detect if we should use the FeedRenderer based on model type

Parameter Name Type Description
$e \ViewEvent

Returns: null|\FeedRenderer

Top