@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public static function loadStyleSheet($styleName) |
36 | 36 | { |
37 | - $stylesPath = self::vendorPath() . "/citation-style-language/styles-distribution/"; |
|
38 | - return file_get_contents($stylesPath . $styleName . '.csl'); |
|
37 | + $stylesPath = self::vendorPath()."/citation-style-language/styles-distribution/"; |
|
38 | + return file_get_contents($stylesPath.$styleName.'.csl'); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -48,14 +48,14 @@ discard block |
||
48 | 48 | public static function loadLocales($langKey) |
49 | 49 | { |
50 | 50 | $data = null; |
51 | - $localesPath = self::vendorPath() . "/citation-style-language/locales/"; |
|
52 | - $localeFile = $localesPath . "locales-" . $langKey . '.xml'; |
|
51 | + $localesPath = self::vendorPath()."/citation-style-language/locales/"; |
|
52 | + $localeFile = $localesPath."locales-".$langKey.'.xml'; |
|
53 | 53 | if (file_exists($localeFile)) { |
54 | 54 | $data = file_get_contents($localeFile); |
55 | 55 | } else { |
56 | 56 | $metadata = self::loadLocalesMetadata(); |
57 | 57 | if (!empty($metadata->{'primary-dialects'}->{$langKey})) { |
58 | - $data = file_get_contents($localesPath . "locales-" . $metadata->{'primary-dialects'}->{$langKey} . '.xml'); |
|
58 | + $data = file_get_contents($localesPath."locales-".$metadata->{'primary-dialects'}->{$langKey}.'.xml'); |
|
59 | 59 | } |
60 | 60 | } |
61 | 61 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | */ |
69 | 69 | public static function loadLocalesMetadata() |
70 | 70 | { |
71 | - $localesMetadataPath = self::vendorPath() . "/citation-style-language/locales/locales.json"; |
|
71 | + $localesMetadataPath = self::vendorPath()."/citation-style-language/locales/locales.json"; |
|
72 | 72 | return json_decode(file_get_contents($localesMetadataPath)); |
73 | 73 | } |
74 | 74 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | private static function vendorPath() |
80 | 80 | { |
81 | - include_once realpath(__DIR__ . '/../') . '/vendorPath.php'; |
|
81 | + include_once realpath(__DIR__.'/../').'/vendorPath.php'; |
|
82 | 82 | if (!($vendorPath = vendorPath())) { |
83 | 83 | // @codeCoverageIgnoreStart |
84 | 84 | throw new CiteProcException('vendor path not found. Use composer to initialize your project'); |
@@ -41,13 +41,13 @@ |
||
41 | 41 | $attr = ""; |
42 | 42 | for ($i = count($nameParts) - 1; $i >= 0; --$i) { |
43 | 43 | if ($i > 0) { |
44 | - $attr = ucfirst($nameParts[$i]) . $attr; |
|
44 | + $attr = ucfirst($nameParts[$i]).$attr; |
|
45 | 45 | } else { |
46 | - $attr = $nameParts[$i] . $attr; |
|
46 | + $attr = $nameParts[$i].$attr; |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | if (!isset($this->{$attr})) { |
50 | - throw new InvalidArgumentException("Property \"$attr\" ($name) does not exist in " . __CLASS__); |
|
50 | + throw new InvalidArgumentException("Property \"$attr\" ($name) does not exist in ".__CLASS__); |
|
51 | 51 | } |
52 | 52 | $this->{$attr} = $value; |
53 | 53 | } |
@@ -185,8 +185,8 @@ discard block |
||
185 | 185 | // test case group_ShortOutputOnly.json |
186 | 186 | $renderedText = ""; |
187 | 187 | if (in_array($this->form, ["short", "long"])) { |
188 | - $attrWithPrefix = $this->form . ucfirst($this->toRenderTypeValue); |
|
189 | - $attrWithSuffix = $this->toRenderTypeValue . "-" . $this->form; |
|
188 | + $attrWithPrefix = $this->form.ucfirst($this->toRenderTypeValue); |
|
189 | + $attrWithSuffix = $this->toRenderTypeValue."-".$this->form; |
|
190 | 190 | if (isset($data->{$attrWithPrefix}) && !empty($data->{$attrWithPrefix})) { |
191 | 191 | $renderedText = $this->applyTextCase(StringHelper::clearApostrophes($data->{$attrWithPrefix}), $lang); |
192 | 192 | } else { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | $macro = CiteProc::getContext()->getMacro($this->toRenderTypeValue); |
247 | 247 | if (is_null($macro)) { |
248 | 248 | try { |
249 | - throw new CiteProcException("Macro \"" . $this->toRenderTypeValue . "\" does not exist."); |
|
249 | + throw new CiteProcException("Macro \"".$this->toRenderTypeValue."\" does not exist."); |
|
250 | 250 | } catch (CiteProcException $e) { |
251 | 251 | $renderedText = ""; |
252 | 252 | } |
@@ -126,8 +126,8 @@ |
||
126 | 126 | public function renderNumeric() |
127 | 127 | { |
128 | 128 | $ret = $this->year; |
129 | - $ret .= $this->month > 0 && $this->month < 13 ? "-" . sprintf("%02s", $this->month) : ""; |
|
130 | - $ret .= $this->day > 0 && $this->day < 32 ? "-" . sprintf("%02s", $this->day) : ""; |
|
129 | + $ret .= $this->month > 0 && $this->month < 13 ? "-".sprintf("%02s", $this->month) : ""; |
|
130 | + $ret .= $this->day > 0 && $this->day < 32 ? "-".sprintf("%02s", $this->day) : ""; |
|
131 | 131 | return $ret; |
132 | 132 | } |
133 | 133 | } |
134 | 134 | \ No newline at end of file |
@@ -146,11 +146,11 @@ discard block |
||
146 | 146 | { |
147 | 147 | $text = $date->getYear(); |
148 | 148 | if ($text > 0 && $text < 1000) { |
149 | - $text = $text . CiteProc::getContext()->getLocale()->filter("terms", "ad")->single; |
|
149 | + $text = $text.CiteProc::getContext()->getLocale()->filter("terms", "ad")->single; |
|
150 | 150 | return $text; |
151 | 151 | } elseif ($text < 0) { |
152 | 152 | $text = $text * -1; |
153 | - $text = $text . CiteProc::getContext()->getLocale()->filter("terms", "bc")->single; |
|
153 | + $text = $text.CiteProc::getContext()->getLocale()->filter("terms", "bc")->single; |
|
154 | 154 | return $text; |
155 | 155 | } |
156 | 156 | return $text; |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | if (empty($form)) { |
224 | 224 | $form = "long"; |
225 | 225 | } |
226 | - $month = 'month-' . sprintf('%02d', $text); |
|
226 | + $month = 'month-'.sprintf('%02d', $text); |
|
227 | 227 | $text = CiteProc::getContext()->getLocale()->filter('terms', $month, $form)->single; |
228 | 228 | return $text; |
229 | 229 | } |
@@ -86,13 +86,12 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | if (CiteProc::getContext()->isModeBibliography()) { |
89 | - foreach ($data as $citationNumber => $item) { |
|
90 | - ++self::$numberOfCitedItems; |
|
89 | + foreach ($data as $citationNumber => $item) {++self::$numberOfCitedItems; |
|
91 | 90 | CiteProc::getContext()->getResults()->append($this->wrapBibEntry($item, $this->renderSingle($item, $citationNumber))); |
92 | 91 | } |
93 | 92 | $ret .= implode($this->delimiter, CiteProc::getContext()->getResults()->toArray()); |
94 | 93 | $ret = StringHelper::clearApostrophes($ret); |
95 | - return "<div class=\"csl-bib-body\">" . $ret . "\n</div>"; |
|
94 | + return "<div class=\"csl-bib-body\">".$ret."\n</div>"; |
|
96 | 95 | |
97 | 96 | } else if (CiteProc::getContext()->isModeCitation()) { |
98 | 97 | if ($citationItems->count() > 0) { //is there a filter for specific citations? |
@@ -140,9 +139,9 @@ discard block |
||
140 | 139 | |
141 | 140 | if (!empty($inMargin) && !empty($margin) && CiteProc::getContext()->isModeBibliography()) { |
142 | 141 | $leftMargin = $this->removeConsecutiveChars($this->htmlentities($this->format(implode("", $inMargin)))); |
143 | - $rightInline = $this->removeConsecutiveChars($this->htmlentities($this->format(implode("", $margin))) . $this->suffix); |
|
144 | - $res = '<div class="csl-left-margin">' . $leftMargin . '</div>'; |
|
145 | - $res .= '<div class="csl-right-inline">' . $rightInline . '</div>'; |
|
142 | + $rightInline = $this->removeConsecutiveChars($this->htmlentities($this->format(implode("", $margin))).$this->suffix); |
|
143 | + $res = '<div class="csl-left-margin">'.$leftMargin.'</div>'; |
|
144 | + $res .= '<div class="csl-right-inline">'.$rightInline.'</div>'; |
|
146 | 145 | return $res; |
147 | 146 | } else if (!empty($inMargin)) { |
148 | 147 | $res = $this->format(implode("", $inMargin)); |
@@ -166,9 +165,9 @@ discard block |
||
166 | 165 | private function wrapBibEntry($dataItem, $value) |
167 | 166 | { |
168 | 167 | $value = $this->addAffixes($value); |
169 | - return "\n " . |
|
170 | - "<div class=\"csl-entry\">" . |
|
171 | - $renderedItem = CiteProcHelper::applyAdditionMarkupFunction($dataItem, "csl-entry", $value) . |
|
168 | + return "\n ". |
|
169 | + "<div class=\"csl-entry\">". |
|
170 | + $renderedItem = CiteProcHelper::applyAdditionMarkupFunction($dataItem, "csl-entry", $value). |
|
172 | 171 | "</div>"; |
173 | 172 | } |
174 | 173 |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | } else { |
174 | 174 | $arr = []; |
175 | 175 | foreach ($data->editor as $editor) { |
176 | - $edt = $this->format($editor->family . ", " . $editor->given); |
|
176 | + $edt = $this->format($editor->family.", ".$editor->given); |
|
177 | 177 | $results[] = NameHelper::addExtendedMarkup('editor', $editor, $edt); |
178 | 178 | } |
179 | 179 | $str .= implode($this->delimiter, $arr); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | } |
209 | 209 | } else { |
210 | 210 | foreach ($data->{$var} as $name) { |
211 | - $formatted = $this->format($name->given . " " . $name->family); |
|
211 | + $formatted = $this->format($name->given." ".$name->family); |
|
212 | 212 | $results[] = NameHelper::addExtendedMarkup($var, $name, $formatted); |
213 | 213 | } |
214 | 214 | } |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | { |
238 | 238 | $this->label->setVariable($var); |
239 | 239 | if (in_array($this->label->getForm(), ["verb", "verb-short"])) { |
240 | - $name = $this->label->render($data) . $name; |
|
240 | + $name = $this->label->render($data).$name; |
|
241 | 241 | } else { |
242 | 242 | $name .= $this->label->render($data); |
243 | 243 | } |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | public static function appendParticleTo(&$data, $namePart, $particle) |
69 | 69 | { |
70 | 70 | if (isset($data->{$particle}) && isset($data->{$namePart})) { |
71 | - $data->{$namePart} = $data->{$namePart} . " " . $data->{$particle}; // append $particle to $namePart |
|
71 | + $data->{$namePart} = $data->{$namePart}." ".$data->{$particle}; // append $particle to $namePart |
|
72 | 72 | unset($data->{$particle}); //remove particle from $data |
73 | 73 | } |
74 | 74 | } |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | public static function prependParticleTo(&$data, $namePart, $particle) |
83 | 83 | { |
84 | 84 | if (isset($data->{$particle}) && isset($data->{$namePart})) { |
85 | - $data->{$namePart} = $data->{$particle} . " " . $data->{$namePart}; //prepend $particle to $namePart |
|
85 | + $data->{$namePart} = $data->{$particle}." ".$data->{$namePart}; //prepend $particle to $namePart |
|
86 | 86 | unset($data->{$particle}); //remove particle from $data |
87 | 87 | } |
88 | 88 | } |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | if (empty($data->family)) { |
120 | 120 | throw new CiteProcException("Illegal argument. Name has no family name."); |
121 | 121 | } |
122 | - return $data->family . (isset($data->given) ? $data->given : ""); |
|
122 | + return $data->family.(isset($data->given) ? $data->given : ""); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | public static function addExtendedMarkup($nameVar, $nameItem, $formattedName) |
@@ -14,103 +14,103 @@ |
||
14 | 14 | { |
15 | 15 | |
16 | 16 | const NAME_VARIABLES = [ |
17 | - 'author', //author |
|
18 | - 'collection-editor', //editor of the collection holding the item (e.g. the series editor for a book) |
|
19 | - 'composer', //composer (e.g. of a musical score) |
|
20 | - 'container-author', //author of the container holding the item (e.g. the book author for a book chapter) |
|
21 | - 'director', //director (e.g. of a film) |
|
22 | - 'editor', //editor |
|
23 | - 'editorial-director', //managing editor (“Directeur de la Publication” in French) |
|
24 | - 'illustrator', //illustrator (e.g. of a children’s book) |
|
25 | - 'interviewer', //interviewer (e.g. of an interview) |
|
26 | - 'original-author', // |
|
27 | - 'recipient', //recipient (e.g. of a letter) |
|
17 | + 'author', //author |
|
18 | + 'collection-editor', //editor of the collection holding the item (e.g. the series editor for a book) |
|
19 | + 'composer', //composer (e.g. of a musical score) |
|
20 | + 'container-author', //author of the container holding the item (e.g. the book author for a book chapter) |
|
21 | + 'director', //director (e.g. of a film) |
|
22 | + 'editor', //editor |
|
23 | + 'editorial-director', //managing editor (“Directeur de la Publication” in French) |
|
24 | + 'illustrator', //illustrator (e.g. of a children’s book) |
|
25 | + 'interviewer', //interviewer (e.g. of an interview) |
|
26 | + 'original-author', // |
|
27 | + 'recipient', //recipient (e.g. of a letter) |
|
28 | 28 | 'reviewed-author' //author of the item reviewed by the current item |
29 | 29 | ]; |
30 | 30 | |
31 | 31 | const NUMBER_VARIABLES = [ |
32 | - 'chapter-number', //chapter number |
|
33 | - 'collection-number', //number identifying the collection holding the item (e.g. the series number for a book) |
|
34 | - 'edition', //(container) edition holding the item (e.g. “3” when citing a chapter in the third |
|
32 | + 'chapter-number', //chapter number |
|
33 | + 'collection-number', //number identifying the collection holding the item (e.g. the series number for a book) |
|
34 | + 'edition', //(container) edition holding the item (e.g. “3” when citing a chapter in the third |
|
35 | 35 | //edition of a book) |
36 | - 'issue', //(container) issue holding the item (e.g. “5” when citing a journal article from |
|
36 | + 'issue', //(container) issue holding the item (e.g. “5” when citing a journal article from |
|
37 | 37 | //journal volume 2, issue 5) |
38 | - 'number', //number identifying the item (e.g. a report number) |
|
39 | - 'number-of-pages', //total number of pages of the cited item |
|
40 | - 'number-of-volumes', //total number of volumes, usable for citing multi-volume books and such |
|
38 | + 'number', //number identifying the item (e.g. a report number) |
|
39 | + 'number-of-pages', //total number of pages of the cited item |
|
40 | + 'number-of-volumes', //total number of volumes, usable for citing multi-volume books and such |
|
41 | 41 | 'volume' //(container) volume holding the item (e.g. “2” when citing a chapter from book volume 2) |
42 | 42 | ]; |
43 | 43 | |
44 | 44 | const DATE_VARIABLES = [ |
45 | - 'accessed', //date the item has been accessed |
|
45 | + 'accessed', //date the item has been accessed |
|
46 | 46 | 'container', |
47 | - 'event-date', //date the related event took place |
|
48 | - 'issued', //date the item was issued/published |
|
49 | - 'original-date', //(issue) date of the original version |
|
47 | + 'event-date', //date the related event took place |
|
48 | + 'issued', //date the item was issued/published |
|
49 | + 'original-date', //(issue) date of the original version |
|
50 | 50 | 'submitted' //date the item (e.g. a manuscript) has been submitted for publication |
51 | 51 | ]; |
52 | 52 | |
53 | 53 | const STANDARD_VARIABLE = [ |
54 | - 'abstract', //abstract of the item (e.g. the abstract of a journal article) |
|
55 | - 'annote', //reader’s notes about the item content |
|
56 | - 'archive', //archive storing the item |
|
57 | - 'archive-location', //storage location within an archive (e.g. a box and folder number) |
|
58 | - 'archive-place', //geographic location of the archive |
|
59 | - 'authority', //issuing or judicial authority (e.g. “USPTO” for a patent, “Fairfax Circuit Court” for |
|
54 | + 'abstract', //abstract of the item (e.g. the abstract of a journal article) |
|
55 | + 'annote', //reader’s notes about the item content |
|
56 | + 'archive', //archive storing the item |
|
57 | + 'archive-location', //storage location within an archive (e.g. a box and folder number) |
|
58 | + 'archive-place', //geographic location of the archive |
|
59 | + 'authority', //issuing or judicial authority (e.g. “USPTO” for a patent, “Fairfax Circuit Court” for |
|
60 | 60 | //a legal case) |
61 | - 'call-number', //call number (to locate the item in a library) |
|
62 | - 'citation-label', //label identifying the item in in-text citations of label styles (e.g. “Ferr78”). May |
|
61 | + 'call-number', //call number (to locate the item in a library) |
|
62 | + 'citation-label', //label identifying the item in in-text citations of label styles (e.g. “Ferr78”). May |
|
63 | 63 | //be assigned by the CSL processor based on item metadata. |
64 | - 'citation-number', //index (starting at 1) of the cited reference in the bibliography (generated by the CSL |
|
64 | + 'citation-number', //index (starting at 1) of the cited reference in the bibliography (generated by the CSL |
|
65 | 65 | //processor) |
66 | - 'collection-title', //title of the collection holding the item (e.g. the series title for a book) |
|
67 | - 'container-title', //title of the container holding the item (e.g. the book title for a book chapter, the |
|
66 | + 'collection-title', //title of the collection holding the item (e.g. the series title for a book) |
|
67 | + 'container-title', //title of the container holding the item (e.g. the book title for a book chapter, the |
|
68 | 68 | //journal title for a journal article) |
69 | - 'container-title-short',//short/abbreviated form of “container-title” (also accessible through the “short” form |
|
69 | + 'container-title-short', //short/abbreviated form of “container-title” (also accessible through the “short” form |
|
70 | 70 | //of the “container-title” variable) |
71 | - 'dimensions', //physical (e.g. size) or temporal (e.g. running time) dimensions of the item |
|
72 | - 'DOI', //Digital Object Identifier (e.g. “10.1128/AEM.02591-07”) |
|
73 | - 'event', //name of the related event (e.g. the conference name when citing a conference paper) |
|
74 | - 'event-place', //geographic location of the related event (e.g. “Amsterdam, the Netherlands”) |
|
71 | + 'dimensions', //physical (e.g. size) or temporal (e.g. running time) dimensions of the item |
|
72 | + 'DOI', //Digital Object Identifier (e.g. “10.1128/AEM.02591-07”) |
|
73 | + 'event', //name of the related event (e.g. the conference name when citing a conference paper) |
|
74 | + 'event-place', //geographic location of the related event (e.g. “Amsterdam, the Netherlands”) |
|
75 | 75 | 'first-reference-note-number', //number of a preceding note containing the first reference to the item. Assigned |
76 | 76 | // by the CSL processor. The variable holds no value for non-note-based styles, or when |
77 | 77 | // the item hasn’t been cited in any preceding notes. |
78 | - 'genre', //class, type or genre of the item (e.g. “adventure” for an adventure movie, |
|
78 | + 'genre', //class, type or genre of the item (e.g. “adventure” for an adventure movie, |
|
79 | 79 | //“PhD dissertation” for a PhD thesis), |
80 | - 'ISBN', //International Standard Book Number |
|
81 | - 'ISSN', //International Standard Serial Number |
|
82 | - 'jurisdiction', //geographic scope of relevance (e.g. “US” for a US patent) |
|
83 | - 'keyword', //keyword(s) or tag(s) attached to the item |
|
84 | - 'locator', //a cite-specific pinpointer within the item (e.g. a page number within a book, or a |
|
80 | + 'ISBN', //International Standard Book Number |
|
81 | + 'ISSN', //International Standard Serial Number |
|
82 | + 'jurisdiction', //geographic scope of relevance (e.g. “US” for a US patent) |
|
83 | + 'keyword', //keyword(s) or tag(s) attached to the item |
|
84 | + 'locator', //a cite-specific pinpointer within the item (e.g. a page number within a book, or a |
|
85 | 85 | //volume in a multi-volume work). Must be accompanied in the input data by a label |
86 | 86 | //indicating the locator type (see the Locators term list), which determines which term |
87 | 87 | //is rendered by cs:label when the “locator” variable is selected. |
88 | - 'medium', //medium description (e.g. “CD”, “DVD”, etc.) |
|
89 | - 'note', //(short) inline note giving additional item details (e.g. a concise summary or commentary) |
|
90 | - 'original-publisher', //original publisher, for items that have been republished by a different publisher |
|
88 | + 'medium', //medium description (e.g. “CD”, “DVD”, etc.) |
|
89 | + 'note', //(short) inline note giving additional item details (e.g. a concise summary or commentary) |
|
90 | + 'original-publisher', //original publisher, for items that have been republished by a different publisher |
|
91 | 91 | 'original-publisher-place', //geographic location of the original publisher (e.g. “London, UK”) |
92 | - 'original-title', //title of the original version (e.g. “Война и мир”, the untranslated Russian title of |
|
92 | + 'original-title', //title of the original version (e.g. “Война и мир”, the untranslated Russian title of |
|
93 | 93 | // “War and Peace”) |
94 | - 'page', //range of pages the item (e.g. a journal article) covers in a container (e.g. a journal |
|
94 | + 'page', //range of pages the item (e.g. a journal article) covers in a container (e.g. a journal |
|
95 | 95 | // issue) |
96 | - 'page-first', //first page of the range of pages the item (e.g. a journal article) covers in a |
|
96 | + 'page-first', //first page of the range of pages the item (e.g. a journal article) covers in a |
|
97 | 97 | //container (e.g. a journal issue) |
98 | - 'PMCID', //PubMed Central reference number |
|
99 | - 'PMID', //PubMed reference number |
|
100 | - 'publisher', //publisher |
|
101 | - 'publisher-place', //geographic location of the publisher |
|
102 | - 'references', //resources related to the procedural history of a legal case |
|
103 | - 'reviewed-title', //title of the item reviewed by the current item |
|
104 | - 'scale', //scale of e.g. a map |
|
105 | - 'section', //container section holding the item (e.g. “politics” for a newspaper article) |
|
106 | - 'source', //from whence the item originates (e.g. a library catalog or database) |
|
107 | - 'status', //(publication) status of the item (e.g. “forthcoming”) |
|
108 | - 'title', //primary title of the item |
|
109 | - 'title-short', //short/abbreviated form of “title” (also accessible through the “short” form of the |
|
98 | + 'PMCID', //PubMed Central reference number |
|
99 | + 'PMID', //PubMed reference number |
|
100 | + 'publisher', //publisher |
|
101 | + 'publisher-place', //geographic location of the publisher |
|
102 | + 'references', //resources related to the procedural history of a legal case |
|
103 | + 'reviewed-title', //title of the item reviewed by the current item |
|
104 | + 'scale', //scale of e.g. a map |
|
105 | + 'section', //container section holding the item (e.g. “politics” for a newspaper article) |
|
106 | + 'source', //from whence the item originates (e.g. a library catalog or database) |
|
107 | + 'status', //(publication) status of the item (e.g. “forthcoming”) |
|
108 | + 'title', //primary title of the item |
|
109 | + 'title-short', //short/abbreviated form of “title” (also accessible through the “short” form of the |
|
110 | 110 | //“title” variable) |
111 | - 'URL', //Uniform Resource Locator (e.g. “http://aem.asm.org/cgi/content/full/74/9/2766”) |
|
112 | - 'version', //version of the item (e.g. “2.0.9” for a software program) |
|
113 | - 'year-suffix', //disambiguating year suffix in author-date styles (e.g. “a” in “Doe, 1999a”) |
|
111 | + 'URL', //Uniform Resource Locator (e.g. “http://aem.asm.org/cgi/content/full/74/9/2766”) |
|
112 | + 'version', //version of the item (e.g. “2.0.9” for a software program) |
|
113 | + 'year-suffix', //disambiguating year suffix in author-date styles (e.g. “a” in “Doe, 1999a”) |
|
114 | 114 | |
115 | 115 | |
116 | 116 | ]; |