biblio_handler_uid.inc in Bibliography Module 7.2
File
views/biblio_handler_uid.incView source
<?php
/**
* A handler to convert the UID to username.
*/
class biblio_handler_uid extends views_handler_field {
function render($values) {
$uid = $this
->get_value($values);
if ($uid) {
$account = user_load($uid);
return $account->name;
}
}
}
Classes
Name | Description |
---|---|
biblio_handler_uid | A handler to convert the UID to username. |