protected function Rss::_setDateCreated in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/Renderer/Entry/Rss.php \Zend\Feed\Writer\Renderer\Entry\Rss::_setDateCreated()
- 8 vendor/zendframework/zend-feed/src/Writer/Renderer/Feed/Rss.php \Zend\Feed\Writer\Renderer\Feed\Rss::_setDateCreated()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/Renderer/Entry/Rss.php \Zend\Feed\Writer\Renderer\Entry\Rss::_setDateCreated()
Set date entry was created
Parameters
DOMDocument $dom:
DOMElement $root:
Return value
void
1 call to Rss::_setDateCreated()
- Rss::render in vendor/
zendframework/ zend-feed/ src/ Writer/ Renderer/ Entry/ Rss.php - Render RSS entry
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Renderer/ Entry/ Rss.php, line 156
Class
Namespace
Zend\Feed\Writer\Renderer\EntryCode
protected function _setDateCreated(DOMDocument $dom, DOMElement $root) {
if (!$this
->getDataContainer()
->getDateCreated()) {
return;
}
if (!$this
->getDataContainer()
->getDateModified()) {
$this
->getDataContainer()
->setDateModified($this
->getDataContainer()
->getDateCreated());
}
}