You are here

public function RendererInterface::setType in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/Renderer/RendererInterface.php \Zend\Feed\Writer\Renderer\RendererInterface::setType()

Set the current feed type being exported to "rss" or "atom". This allows other objects to gracefully choose whether to execute or not, depending on their appropriateness for the current type, e.g. renderers.

Parameters

string $type:

File

vendor/zendframework/zend-feed/src/Writer/Renderer/RendererInterface.php, line 75

Class

RendererInterface

Namespace

Zend\Feed\Writer\Renderer

Code

public function setType($type);