You are here

public function Atom::getDescription in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getDescription()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getDescription()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getDescription()

Get the entry description

Return value

string

Overrides EntryInterface::getDescription

File

vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php, line 145

Class

Atom

Namespace

Zend\Feed\Reader\Entry

Code

public function getDescription() {
  if (array_key_exists('description', $this->data)) {
    return $this->data['description'];
  }
  $description = $this
    ->getExtension('Atom')
    ->getDescription();
  $this->data['description'] = $description;
  return $this->data['description'];
}