Open Journal Systems  3.3.0
DataList.php
1 <?php
2 /*
3  * citeproc-php
4  *
5  * @link http://github.com/seboettg/citeproc-php for the source repository
6  * @copyright Copyright (c) 2017 Sebastian Böttger.
7  * @license https://opensource.org/licenses/MIT
8  */
9 
11 
15 
22 class DataList extends ArrayList
23 {
27  private $subsequentAuthorSubstitute;
28 
32  private $subsequentAuthorSubstituteRule = "complete-all";
33 
37  private $citation;
38 
39  public function __construct(array $data = [], $citation = null)
40  {
41  parent::__construct($data);
42  $this->citation = $citation;
43  }
44 
49  {
50  return $this->subsequentAuthorSubstitute;
51  }
52 
56  public function setSubsequentAuthorSubstitute($subsequentAuthorSubstitute)
57  {
58  $this->subsequentAuthorSubstitute = $subsequentAuthorSubstitute;
59  }
60 
64  public function getSubsequentAuthorSubstituteRule()
65  {
66  return $this->subsequentAuthorSubstituteRule;
67  }
68 
72  public function setSubsequentAuthorSubstituteRule(SubsequentAuthorSubstituteRule $subsequentAuthorSubstituteRule)
73  {
74  $this->subsequentAuthorSubstituteRule = $subsequentAuthorSubstituteRule;
75  }
76 }
Seboettg\CiteProc\Data\DataList\getSubsequentAuthorSubstitute
getSubsequentAuthorSubstitute()
Definition: DataList.php:57
Seboettg\CiteProc\Data\DataList\__construct
__construct(array $data=[], $citation=null)
Definition: DataList.php:48
Seboettg\CiteProc\Data\DataList\setSubsequentAuthorSubstitute
setSubsequentAuthorSubstitute($subsequentAuthorSubstitute)
Definition: DataList.php:65
Seboettg\CiteProc\Style\Options\SubsequentAuthorSubstituteRule
Definition: SubsequentAuthorSubstituteRule.php:23
Seboettg\CiteProc\Style\Citation
Definition: Citation.php:31
Seboettg\CiteProc\Data\DataList
Definition: DataList.php:22
Seboettg\CiteProc\Data\DataList\setSubsequentAuthorSubstituteRule
setSubsequentAuthorSubstituteRule(SubsequentAuthorSubstituteRule $subsequentAuthorSubstituteRule)
Definition: DataList.php:81
Seboettg\CiteProc\Data
Definition: DataList.php:10
Seboettg\CiteProc\Data\DataList\getSubsequentAuthorSubstituteRule
getSubsequentAuthorSubstituteRule()
Definition: DataList.php:73
Seboettg\Collection\ArrayList
Definition: ArrayList.php:20