class Author in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/comparator/tests/_files/Author.php \SebastianBergmann\Comparator\Author
- 8 vendor/phpunit/phpunit/tests/_files/Author.php \Author
- 8 vendor/zendframework/zend-feed/src/Reader/Collection/Author.php \Zend\Feed\Reader\Collection\Author
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Collection/Author.php \Zend\Feed\Reader\Collection\Author
Hierarchy
- class \Zend\Feed\Reader\Collection\AbstractCollection extends \ArrayObject
- class \Zend\Feed\Reader\Collection\Author
Expanded class hierarchy of Author
14 string references to 'Author'
- CommentAdminOverview::buildForm in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Form constructor for the comment overview administration form.
- CommentViewsData::getViewsData in core/
modules/ comment/ src/ CommentViewsData.php - Returns views data for the entity type.
- comment_entity_extra_field_info in core/
modules/ comment/ comment.module - Implements hook_entity_extra_field_info().
- comment_token_info in core/
modules/ comment/ comment.tokens.inc - Implements hook_token_info().
- hook_token_info in core/
lib/ Drupal/ Core/ Utility/ token.api.php - Provide information about available placeholder tokens and token types.
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Collection/ Author.php, line 12
Namespace
Zend\Feed\Reader\CollectionView source
class Author extends AbstractCollection {
/**
* Return a simple array of the most relevant slice of
* the author values, i.e. all author names.
*
* @return array
*/
public function getValues() {
$authors = [];
foreach ($this
->getIterator() as $element) {
$authors[] = $element['name'];
}
return array_unique($authors);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Author:: |
public | function |
Return a simple array of the most relevant slice of
the author values, i.e. all author names. Overrides AbstractCollection:: |