1 views_plugin_style.inc views_plugin_style::get_field_value($index, $field)

Get the raw field value.

Parameters

$index: The index count of the row.

$field: The id of the field.

File

core/modules/views/plugins/views_plugin_style.inc, line 575
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

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;
}