You are here

public function Feed::setEncoding in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Feed.php \Zend\Feed\Writer\Extension\ITunes\Feed::setEncoding()

Set feed encoding

Parameters

string $enc:

Return value

Feed

File

vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Feed.php, line 56

Class

Feed

Namespace

Zend\Feed\Writer\Extension\ITunes

Code

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