function views_handler_field::get_value

Same name in other branches
  1. 7.x-3.x handlers/views_handler_field.inc \views_handler_field::get_value()

Get the value that's supposed to be rendered.

Parameters

$values: An object containing all retrieved values.

$field: Optional name of the field where the value is stored.

71 calls to views_handler_field::get_value()
views_handler_field::render in handlers/views_handler_field.inc
Render the field.
views_handler_field_accesslog_path::render in modules/statistics/views_handler_field_accesslog_path.inc
Render the field.
views_handler_field_accesslog_path::render_link in modules/statistics/views_handler_field_accesslog_path.inc
views_handler_field_aggregator_category::render in modules/aggregator/views_handler_field_aggregator_category.inc
Render the field.
views_handler_field_aggregator_category::render_link in modules/aggregator/views_handler_field_aggregator_category.inc
Render whatever the data is as a link to the category.

... See full list

File

handlers/views_handler_field.inc, line 316

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function get_value($values, $field = NULL) {
    $alias = isset($field) ? $this->aliases[$field] : $this->field_alias;
    if (isset($values->{$alias})) {
        return $values->{$alias};
    }
}