You are here

public function AbstractRenderer::setEncoding in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php \Zend\Feed\Writer\Extension\AbstractRenderer::setEncoding()
  2. 8 vendor/zendframework/zend-feed/src/Writer/Renderer/AbstractRenderer.php \Zend\Feed\Writer\Renderer\AbstractRenderer::setEncoding()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php \Zend\Feed\Writer\Extension\AbstractRenderer::setEncoding()

Set feed encoding

Parameters

string $enc:

Return value

AbstractRenderer

File

vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php, line 74

Class

AbstractRenderer

Namespace

Zend\Feed\Writer\Extension

Code

public function setEncoding($enc) {
  $this->encoding = $enc;
  return $this;
}