public function AbstractEntry::getEncoding in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-feed/src/Reader/AbstractEntry.php \Zend\Feed\Reader\AbstractEntry::getEncoding()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractEntry.php \Zend\Feed\Reader\Extension\AbstractEntry::getEncoding()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/AbstractEntry.php \Zend\Feed\Reader\Entry\AbstractEntry::getEncoding()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/AbstractEntry.php \Zend\Feed\Reader\AbstractEntry::getEncoding()
Get the Entry's encoding
Return value
string
1 call to AbstractEntry::getEncoding()
- AbstractEntry::saveXml in vendor/
zendframework/ zend-feed/ src/ Reader/ AbstractEntry.php - Get entry as xml
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ AbstractEntry.php, line 105
Class
Namespace
Zend\Feed\ReaderCode
public function getEncoding() {
$assumed = $this
->getDomDocument()->encoding;
if (empty($assumed)) {
$assumed = 'UTF-8';
}
return $assumed;
}