You are here

public function Entry::getExplicit in Zircon Profile 8.0

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

Get the entry explicit

Return value

string

File

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

Class

Entry

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'];
}