public function Atom::getDateModified in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getDateModified()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getDateModified()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getDateModified()
Get the feed modification date
Return value
string|null
Overrides FeedInterface::getDateModified
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Feed/ Atom.php, line 131
Class
Namespace
Zend\Feed\Reader\FeedCode
public function getDateModified() {
if (array_key_exists('datemodified', $this->data)) {
return $this->data['datemodified'];
}
$dateModified = $this
->getExtension('Atom')
->getDateModified();
if (!$dateModified) {
$dateModified = null;
}
$this->data['datemodified'] = $dateModified;
return $this->data['datemodified'];
}