public function AbstractFeed::setType in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::setType()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractFeed.php \Zend\Feed\Reader\Extension\AbstractFeed::setType()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::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:
Return value
1 call to AbstractFeed::setType()
- Feed::export in vendor/
zendframework/ zend-feed/ src/ Writer/ Feed.php - Attempt to build and return the feed resulting from the data set
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ AbstractFeed.php, line 776
Class
Namespace
Zend\Feed\WriterCode
public function setType($type) {
$this->type = $type;
return $this;
}