class biblio_handler_field_export_link_endnote_xml in Bibliography Module 6.2
Hierarchy
- class \biblio_handler_field_export_link extends \views_handler_field
Expanded class hierarchy of biblio_handler_field_export_link_endnote_xml
1 string reference to 'biblio_handler_field_export_link_endnote_xml'
- biblio_xml_views_data in modules/
endnote/ views/ biblio_xml.views.inc
File
- modules/
endnote/ views/ biblio_handler_field_export_link_endnote_xml.inc, line 2
View source
class biblio_handler_field_export_link_endnote_xml extends biblio_handler_field_export_link {
function render($values) {
if (user_access('show export links')) {
$base = variable_get('biblio_base', 'biblio');
$nid = $this
->get_value($values, 'nid');
$this->options['alter']['make_link'] = TRUE;
$this->options['alter']['path'] = "{$base}/export/xml/{$nid}";
$text = !empty($this->options['text']) ? $this->options['text'] : t('XML');
return $text;
}
}
}