function patron_email_link in Library 6
Same name and namespace in other branches
- 5.2 patron/patron.module \patron_email_link()
2 calls to patron_email_link()
- patron_list_patrons in patron/
patron.pages.inc - @file Functions for generating page displays related to the patron module
- patron_nodeapi in patron/
patron.module - Implemenation of hook_nodeapi().
File
- patron/
patron.module, line 507
Code
function patron_email_link($patron) {
$output = '';
if ($patron->email) {
$output = l('E-mail', 'patrons/email/' . $patron->nid);
}
return $output;
}