You are here

function PARSEENTRIES::loadBibtexString in Bibliography Module 5

Same name and namespace in other branches
  1. 6.2 modules/bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadBibtexString()
  2. 6 bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadBibtexString()
  3. 7.3 plugins/biblio_style/bibtex/PARSEENTRIES.php \PARSEENTRIES::loadBibtexString()
  4. 7 modules/bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadBibtexString()
  5. 7.2 modules/bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadBibtexString()

File

bibtexParse/PARSEENTRIES.php, line 158

Class

PARSEENTRIES

Code

function loadBibtexString($bibtex_string) {
  if (is_string($bibtex_string)) {

    //$bibtex_string = $this->searchReplaceText($this->transtab_latex_unicode, $bibtex_string, false);
    $this->bibtexString = explode("\n", $bibtex_string);
  }
  else {
    $this->bibtexString = $bibtex_string;
  }
  $this->parseFile = FALSE;
  $this->currentLine = 0;
}