protected function EndnoteEncoder::buildLine 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::buildLine()
Build entry line.
Parameters
string $key: Line key.
string $value: Line value.
Return value
string Entry line.
2 calls to EndnoteEncoder::buildLine()
- EndnoteEncoder::buildEntry in modules/
bibcite_endnote/ src/ Encoder/ EndnoteEncoder.php - Build tagged entry string.
- EndnoteEncoder::buildMultiLine in modules/
bibcite_endnote/ src/ Encoder/ EndnoteEncoder.php - Build multi line entry.
File
- modules/
bibcite_endnote/ src/ Encoder/ EndnoteEncoder.php, line 496
Class
- EndnoteEncoder
- Endnote format encoder.
Namespace
Drupal\bibcite_endnote\EncoderCode
protected function buildLine($key, $value) {
return $key . ' ' . $value . "\n";
}