public function Entry::getEncoding in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getEncoding()
- 8 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Entry.php \Zend\Feed\Writer\Extension\ITunes\Entry::getEncoding()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getEncoding()
Get the feed character encoding
Return value
string|null
2 calls to Entry::getEncoding()
- Entry::createSource in vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php - Creates a new Zend\Feed\Writer\Source data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
- Entry::_loadExtensions in vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php - Load extensions from Zend\Feed\Writer\Writer
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php, line 133
Class
Namespace
Zend\Feed\WriterCode
public function getEncoding() {
if (!array_key_exists('encoding', $this->data)) {
return 'UTF-8';
}
return $this->data['encoding'];
}