You are here

public function Creators::buildTypeMap in Bibliography Module 7

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

File

modules/bibtexParse/PARSECREATORS.php, line 34
Classes Creators and PARSECREATORS.

Class

Creators

Code

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