protected function EndnoteEncoder::buildMultiLine in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php \Drupal\bibcite_endnote\Encoder\EndnoteEncoder::buildMultiLine()
Build multi line entry.
Parameters
string $key: Line key.
array $value: Array of multi line values.
Return value
string Multi line entry.
1 call to EndnoteEncoder::buildMultiLine()
- EndnoteEncoder::buildEntry in modules/
bibcite_endnote/ src/ Encoder/ EndnoteEncoder.php - Build tagged entry string.
File
- modules/
bibcite_endnote/ src/ Encoder/ EndnoteEncoder.php, line 475
Class
- EndnoteEncoder
- Endnote format encoder.
Namespace
Drupal\bibcite_endnote\EncoderCode
protected function buildMultiLine($key, array $value) {
$lines = '';
foreach ($value as $item) {
$lines .= $this
->buildLine($key, $item);
}
return $lines;
}