You are here

function biblio_get_db_fields in Bibliography Module 6

Same name and namespace in other branches
  1. 5 biblio.module \biblio_get_db_fields()
  2. 6.2 biblio.module \biblio_get_db_fields()
  3. 7 biblio.module \biblio_get_db_fields()
  4. 7.2 biblio.module \biblio_get_db_fields()
2 calls to biblio_get_db_fields()
biblio_build_query in ./biblio.pages.inc
biblio_csv_export_2 in ./biblio.import.export.inc

File

./biblio.module, line 1902

Code

function biblio_get_db_fields() {
  $fields = array();
  $fields[] = 'nid';
  $fields[] = 'vid';
  $fields[] = 'biblio_type';
  $result = db_query('SELECT name FROM {biblio_fields} ');
  while ($field = db_fetch_array($result)) {
    $fields[] = $field['name'];
  }
  return $fields;
}