You are here

function PARSEENTRIES::openBib in Bibliography Module 6.2

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

Parameters

$file:

Return value

none

File

modules/bibtexParse/PARSEENTRIES.php, line 157

Class

PARSEENTRIES

Code

function openBib($file) {
  if (!is_file($file)) {
    die;
  }
  ini_set('auto_detect_line_endings', true);
  $this->fid = fopen($file, 'r');
  $this->parseFile = TRUE;
}