You are here

private function EndnoteEncoder::encodeTagged in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php \Drupal\bibcite_endnote\Encoder\EndnoteEncoder::encodeTagged()

Encode tagged format function.

1 call to EndnoteEncoder::encodeTagged()
EndnoteEncoder::encode in modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php

File

modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php, line 425

Class

EndnoteEncoder
Endnote format encoder.

Namespace

Drupal\bibcite_endnote\Encoder

Code

private function encodeTagged($data) {
  $data = array_map(function ($raw) {
    return $this
      ->buildEntry($raw);
  }, $data);
  return implode("\n", $data);
}