public function Author::getValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Collection/Author.php \Zend\Feed\Reader\Collection\Author::getValues()
Return a simple array of the most relevant slice of the author values, i.e. all author names.
Return value
array
Overrides AbstractCollection::getValues
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Collection/ Author.php, line 20
Class
Namespace
Zend\Feed\Reader\CollectionCode
public function getValues() {
$authors = [];
foreach ($this
->getIterator() as $element) {
$authors[] = $element['name'];
}
return array_unique($authors);
}