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/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getDateCreated()
Get the entry creation date
Return value
string
Overrides EntryInterface::getDateCreated
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Entry/ Atom.php, line 109
Class
Namespace
Zend\Feed\Reader\EntryCode
public function getDateCreated() {
if (array_key_exists('datecreated', $this->data)) {
return $this->data['datecreated'];
}
$dateCreated = $this
->getExtension('Atom')
->getDateCreated();
$this->data['datecreated'] = $dateCreated;
return $this->data['datecreated'];
}