protected function RISEncoder::buildMultiLine in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_ris/src/Encoder/RISEncoder.php \Drupal\bibcite_ris\Encoder\RISEncoder::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 RISEncoder::buildMultiLine()
- RISEncoder::buildEntry in modules/
bibcite_ris/ src/ Encoder/ RISEncoder.php - Build RIS entry string.
File
- modules/
bibcite_ris/ src/ Encoder/ RISEncoder.php, line 258
Class
- RISEncoder
- RIS format encoder.
Namespace
Drupal\bibcite_ris\EncoderCode
protected function buildMultiLine($key, array $value) {
$lines = '';
foreach ($value as $item) {
$lines .= $this
->buildLine($key, $item);
}
return $lines;
}