protected function Entry::_setSummary in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Renderer/Entry.php \Zend\Feed\Writer\Extension\ITunes\Renderer\Entry::_setSummary()
Set entry summary
Parameters
DOMDocument $dom:
DOMElement $root:
Return value
void
1 call to Entry::_setSummary()
- Entry::render in vendor/
zendframework/ zend-feed/ src/ Writer/ Extension/ ITunes/ Renderer/ Entry.php - Render entry
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Extension/ ITunes/ Renderer/ Entry.php, line 188
Class
Namespace
Zend\Feed\Writer\Extension\ITunes\RendererCode
protected function _setSummary(DOMDocument $dom, DOMElement $root) {
$summary = $this
->getDataContainer()
->getItunesSummary();
if (!$summary) {
return;
}
$el = $dom
->createElement('itunes:summary');
$text = $dom
->createTextNode($summary);
$el
->appendChild($text);
$root
->appendChild($el);
$this->called = true;
}