public function AbstractFeed::getEncoding in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php \Zend\Feed\Reader\AbstractFeed::getEncoding()
- 8 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::getEncoding()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractFeed.php \Zend\Feed\Reader\Extension\AbstractFeed::getEncoding()
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::getEncoding()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::getEncoding()
Get the feed character encoding
Return value
string|null
3 calls to AbstractFeed::getEncoding()
- AbstractFeed::_loadExtensions in vendor/
zendframework/ zend-feed/ src/ Writer/ AbstractFeed.php - Load extensions from Zend\Feed\Writer\Writer
- Feed::createEntry in vendor/
zendframework/ zend-feed/ src/ Writer/ Feed.php - Creates a new Zend\Feed\Writer\Entry 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.
- Feed::createTombstone in vendor/
zendframework/ zend-feed/ src/ Writer/ Feed.php - Creates a new Zend\Feed\Writer\Deleted 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.
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ AbstractFeed.php, line 711
Class
Namespace
Zend\Feed\WriterCode
public function getEncoding() {
if (!array_key_exists('encoding', $this->data)) {
return 'UTF-8';
}
return $this->data['encoding'];
}