You are here

function Creators::buildTypeMap in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/bibtexParse/PARSECREATORS.php \Creators::buildTypeMap()
  2. 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \Creators::buildTypeMap()
  3. 7 modules/bibtexParse/PARSECREATORS.php \Creators::buildTypeMap()
  4. 7.2 modules/bibtexParse/PARSECREATORS.php \Creators::buildTypeMap()
1 call to Creators::buildTypeMap()
Creators::Creators in bibtexParse/PARSECREATORS.php

File

bibtexParse/PARSECREATORS.php, line 22

Class

Creators

Code

function buildTypeMap() {
  $result = db_query("SELECT * FROM {biblio_contributor_type} ;");
  while ($type = db_fetch_object($result)) {
    $this->typeMap[$type->type] = $type->ctid;
  }
}