You are here

function printfriendly_views_handler_field_pfbutton::render in PrintFriendly & PDF 7

Same name and namespace in other branches
  1. 7.5 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
  2. 7.2 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
  3. 7.3 views/printfriendly_views_handler_field_pfbutton.inc \printfriendly_views_handler_field_pfbutton::render()
  4. 7.4 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);
}