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 BibrecordHead
 6: {
 7:     /** @var array */
 8:     protected $data;
 9:     
10:     /** @var AuthorGroup */
11:     protected $authorGroup;
12:     
13:     /** @var Correspondence */
14:     protected $correspondence;
15:     
16:     /** @var Source */
17:     protected $source;
18: 
19:     public function __construct(array $data)
20:     {
21:         $this->data = $data;
22:     }
23:     
24:     public function getAuthorGroup()
25:     {
26:         if (isset($this->data['author-group'])) {
27:             return $this->authorGroup ?: $this->authorGroup = new AuthorGroup($this->data['author-group']);
28:         }
29:     }
30:     
31:     public function getCorrespondence()
32:     {
33:         if (isset($this->data['correspondence'])) {
34:             return $this->correspondence ?: $this->correspondence = new Correspondence($this->data['correspondence']);
35:         }
36:     }
37:     
38:     public function getSource()
39:     {
40:         if (isset($this->data['source'])) {
41:             return $this->source ?: $this->source = new Source($this->data['source']);
42:         }
43:     }
44: }
API documentation generated by ApiGen