You are here

public function Feed::getExplicit in Zircon Profile 8.0

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

Get the entry explicit

Return value

string

File

vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Feed.php, line 110

Class

Feed

Namespace

Zend\Feed\Reader\Extension\Podcast

Code

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