You are here

public function views_plugin_style::get_field_value in Views (for Drupal 7) 7.3

Get the raw field value.

Parameters

int $index: The index count of the row.

string $field: The id of the field.

1 call to views_plugin_style::get_field_value()
views_plugin_style::render_grouping in plugins/views_plugin_style.inc
Group records as needed for rendering.

File

plugins/views_plugin_style.inc, line 595
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

public function get_field_value($index, $field) {
  $this->view->row_index = $index;
  $value = $this->view->field[$field]
    ->get_value($this->view->result[$index]);
  unset($this->view->row_index);
  return $value;
}