function biblio_get_db_fields in Bibliography Module 6.2
Same name and namespace in other branches
- 5 biblio.module \biblio_get_db_fields()
- 6 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()
- biblio_build_query in includes/
biblio.pages.inc - Creates an SQL query to select and order biblio type content.
- biblio_csv_export_2 in includes/
biblio.import.export.inc
File
- ./
biblio.module, line 2097 - Main file for Drupal module biblio.
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;
}