public function Atom::getDateCreated 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::getDateCreated()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getDateCreated()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getDateCreated()
Get the feed creation date
Return value
string|null
Overrides FeedInterface::getDateCreated
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Feed/ Atom.php, line 109
Class
Namespace
Zend\Feed\Reader\FeedCode
public function getDateCreated() {
if (array_key_exists('datecreated', $this->data)) {
return $this->data['datecreated'];
}
$dateCreated = $this
->getExtension('Atom')
->getDateCreated();
if (!$dateCreated) {
$dateCreated = null;
}
$this->data['datecreated'] = $dateCreated;
return $this->data['datecreated'];
}