function _biblio_format_author in Bibliography Module 6
Same name and namespace in other branches
- 6.2 includes/biblio.pages.inc \_biblio_format_author()
- 7 includes/biblio.pages.inc \_biblio_format_author()
- 7.2 includes/biblio.pages.inc \_biblio_format_author()
1 call to _biblio_format_author()
File
- ./
biblio.pages.inc, line 1192
Code
function _biblio_format_author($author) {
static $author_options = array();
$style_name = biblio_get_style();
module_load_include('inc', 'biblio', "biblio_style_{$style_name}");
$inline = FALSE;
if (empty($author_options)) {
$style_name = biblio_get_style();
$style_function = "biblio_style_{$style_name}" . "_author_options";
$author_options = $style_function();
}
$format = theme('biblio_format_authors', array(
$author,
), $author_options, $inline);
$format .= ' (' . $author['cnt'] . ') ' . (biblio_access('edit_author') ? _biblio_author_edit_links($author) : '');
return $format;
}