You are here

public function Entry::getCategories in Zircon Profile 8.0

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

Get the entry categories

Return value

string|null

File

vendor/zendframework/zend-feed/src/Writer/Entry.php, line 582

Class

Entry

Namespace

Zend\Feed\Writer

Code

public function getCategories() {
  if (!array_key_exists('categories', $this->data)) {
    return;
  }
  return $this->data['categories'];
}