function biblio_get_db_fields in Bibliography Module 6
Same name and namespace in other branches
- 5 biblio.module \biblio_get_db_fields()
- 6.2 biblio.module \biblio_get_db_fields()
- 7 biblio.module \biblio_get_db_fields()
- 7.2 biblio.module \biblio_get_db_fields()
2 calls to biblio_get_db_fields()
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;
}