You are here

function views_handler_field_node_sexybookmarks::render in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.2

Same name and namespace in other branches
  1. 7 includes/views_handler_field_node_sexybookmarks.inc \views_handler_field_node_sexybookmarks::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

includes/views_handler_field_node_sexybookmarks.inc, line 48
Field handler to present SexyBookmarks.

Class

views_handler_field_node_sexybookmarks
@file Field handler to present SexyBookmarks.

Code

function render($values) {
  return theme('sexybookmarks', array(
    'url' => url('node/' . $this
      ->get_value($values, 'nid'), array(
      'absolute' => TRUE,
    )),
    'title' => $this
      ->get_value($values, 'title'),
    'profile' => $this->options['profile'],
  ));
}