function printfriendly_views_handler_field_pfbutton::render in PrintFriendly & PDF 7.4
Same name and namespace in other branches
- 7.5 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
- 7 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
- 7.2 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
- 7.3 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
Render function: return html output.
Overrides views_handler_field::render
File
- views/
printfriendly_views_handler_field_pfbutton.inc, line 15 - handler class for the new field 'pfbutton'.
Class
- printfriendly_views_handler_field_pfbutton
- class definition.
Code
function render($values) {
return printfriendly_create_button('node/' . $values->nid, FALSE);
}