Revision 38a98e54
Added by Andreas Kohlbecker about 3 years ago
modules/cdm_dataportal/classes/AnnotationsAndSources.php | ||
---|---|---|
20 | 20 |
*/ |
21 | 21 |
private $sourceReferences = []; |
22 | 22 |
|
23 |
/** |
|
24 |
* This field is being used when annotations are not handled as footnotes |
|
25 |
* |
|
26 |
* @var array |
|
27 |
* an array of the annotations markup |
|
28 |
*/ |
|
29 |
private $annotations = []; |
|
30 |
|
|
31 |
/** |
|
32 |
* @return array |
|
33 |
*/ |
|
34 |
public function getAnnotations() { |
|
35 |
return $this->annotations; |
|
36 |
} |
|
37 |
|
|
38 |
/** |
|
39 |
* @param array $annotations |
|
40 |
*/ |
|
41 |
public function setAnnotations($annotations) { |
|
42 |
$this->annotations = $annotations; |
|
43 |
} |
|
44 |
|
|
23 | 45 |
/** |
24 | 46 |
* @var array an associative array of the names in source, |
25 | 47 |
* the name in source strings are de-duplicated |
Also available in: Unified diff
ref #6866 showing unit annotations (AnnotationsAndSources supports annotations a content now)