Overview

Namespaces

  • Scopus
    • Exception
    • Response
    • Util

Classes

  • Scopus\Response\AbstractAuthor
  • Scopus\Response\AbstractCoredata
  • Scopus\Response\AbstractItem
  • Scopus\Response\Abstracts
  • Scopus\Response\Affiliation
  • Scopus\Response\Author
  • Scopus\Response\AuthorGroup
  • Scopus\Response\AuthorName
  • Scopus\Response\AuthorProfile
  • Scopus\Response\BaseLinks
  • Scopus\Response\Bibrecord
  • Scopus\Response\BibrecordHead
  • Scopus\Response\Correspondence
  • Scopus\Response\CorrespondencePerson
  • Scopus\Response\Entry
  • Scopus\Response\EntryAuthor
  • Scopus\Response\EntryLinks
  • Scopus\Response\SearchLinks
  • Scopus\Response\SearchResults
  • Scopus\Response\Source
  • Scopus\ScopusApi
  • Scopus\SearchQuery
  • Scopus\Util\XmlUtil

Interfaces

  • Scopus\Response\IAbstract
  • Scopus\Response\IAuthor
  • Scopus\Response\IAuthorName

Exceptions

  • Scopus\Exception\JsonException
  • Scopus\Exception\XmlException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace Scopus\Response;
 4: 
 5: class EntryAuthor extends AuthorName implements IAuthor 
 6: {
 7:     public function __construct(array $data)
 8:     {
 9:         parent::__construct(array_merge($data, [
10:             'indexed-name' => $data['authname']
11:         ]));
12:     }
13:     
14:     public function getId()
15:     {
16:         return $this->data['authid'];
17:     }
18:     
19:     public function getName()
20:     {
21:         return $this->data['authname'];
22:     }
23:     
24:     public function getAffiliationId()
25:     {
26:         return $this->data['afid'][0]['$'];
27:     }
28:     
29:     public function getUrl()
30:     {
31:         return $this->data['author-url'];
32:     }
33: }
API documentation generated by ApiGen