You are here

function PARSEENTRIES::getEntries in Bibliography Module 6.2

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

File

modules/bibtexParse/PARSEENTRIES.php, line 547

Class

PARSEENTRIES

Code

function &getEntries() {
  if ($this->removeDelimit || $this->expandMacro && $this->fieldExtract) {
    for ($i = 0; $i < count($this->entries); $i++) {
      foreach ($this->entries[$i] as $key => $value) {

        // 02/05/2005 G. Gardey don't expand macro for bibtexCitation
        // and bibtexEntryType
        if ($key != 'bibtexCitation' && $key != 'bibtexEntryType') {
          $this->entries[$i][$key] = trim($this
            ->removeDelimitersAndExpand($this->entries[$i][$key]));
        }
      }
    }
  }
  return $this->entries;
}