You are here

public function Entry::setType in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::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

Entry

File

vendor/zendframework/zend-feed/src/Writer/Entry.php, line 673

Class

Entry

Namespace

Zend\Feed\Writer

Code

public function setType($type) {
  $this->type = $type;
  return $this;
}