You are here

protected function RISEncoder::buildLine in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_ris/src/Encoder/RISEncoder.php \Drupal\bibcite_ris\Encoder\RISEncoder::buildLine()

Build entry line.

Parameters

string $key: Line key.

string $value: Line value.

Return value

string Entry line.

3 calls to RISEncoder::buildLine()
RISEncoder::buildEnd in modules/bibcite_ris/src/Encoder/RISEncoder.php
Build the end of RIS entry.
RISEncoder::buildEntry in modules/bibcite_ris/src/Encoder/RISEncoder.php
Build RIS entry string.
RISEncoder::buildMultiLine in modules/bibcite_ris/src/Encoder/RISEncoder.php
Build multi line entry.

File

modules/bibcite_ris/src/Encoder/RISEncoder.php, line 279

Class

RISEncoder
RIS format encoder.

Namespace

Drupal\bibcite_ris\Encoder

Code

protected function buildLine($key, $value) {
  return $key . ' - ' . $value . "\n";
}