1541. Class

1541.1. Zend\View\Renderer\FeedRenderer

Interface class for Zend_View compatible template engine implementations

1541.1.1. Methods

1541.1.1.1. getEngine

getEngine()

Return the template engine object, if any

If using a third-party template engine, such as Smarty, patTemplate, phplib, etc, return the template engine object. Useful for calling methods on these objects, such as for setting filters, modifiers, etc.

Return type:mixed

1541.1.1.2. setResolver

setResolver()

Set the resolver used to map a template name to a resource the renderer may consume.

Parameters:Resolver
Return type:FeedRenderer

1541.1.1.3. render

render()

Renders values as JSON

Parameters:
  • string|Model – The script/resource process, or a view model
  • null|array|ArrayAccess – Values to use during rendering
Throws ExceptionInvalidArgumentException:
 
Return type:

string The script output.

1541.1.1.4. setFeedType

setFeedType()

Set feed type (‘rss’ or ‘atom’)

Parameters:string
Throws ExceptionInvalidArgumentException:
 
Return type:FeedRenderer

1541.1.1.5. getFeedType

getFeedType()

Get feed type

Return type:string

Project Versions

Table Of Contents

Previous topic

1540. Class

Next topic

1542. Class

This Page