1852. Class

1852.1. Zend\View\Strategy\FeedStrategy

1852.1.1. Methods

1852.1.1.1. __construct

__construct()

Constructor

Parameters:FeedRenderer

1852.1.1.2. attach

attach()

Attach the aggregate to the specified event manager

Parameters:
  • EventManagerInterface
  • int
Return type:

void

1852.1.1.3. detach

detach()

Detach aggregate listeners from the specified event manager

Parameters:EventManagerInterface
Return type:void

1852.1.1.4. selectRenderer

selectRenderer()

Detect if we should use the FeedRenderer based on model type and/or Accept header

Parameters:ViewEvent
Return type:null|FeedRenderer

1852.1.1.5. injectResponse

injectResponse()

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

Parameters:ViewEvent
Return type:void

Project Versions

Table Of Contents

Previous topic

1851. Class

Next topic

1853. Class

This Page