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