You are here

public function Entry::getSummary in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php \Zend\Feed\Reader\Extension\Podcast\Entry::getSummary()

Get the entry summary

Return value

string

File

vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php, line 155

Class

Entry

Namespace

Zend\Feed\Reader\Extension\Podcast

Code

public function getSummary() {
  if (isset($this->data['summary'])) {
    return $this->data['summary'];
  }
  $summary = $this->xpath
    ->evaluate('string(' . $this
    ->getXpathPrefix() . '/itunes:summary)');
  if (!$summary) {
    $summary = null;
  }
  $this->data['summary'] = $summary;
  return $this->data['summary'];
}