function views_handler_field::get_value

cis7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)
cle7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)
elmsmedia7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)
icor7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)
meedjum_blog7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)
mooc7 views_handler_field.inc views_handler_field::get_value($values, $field = NULL)

Get the value that's supposed to be rendered.

This api exists so that other modules can easy set the values of the field without having the need to change the render method as well.

Parameters

$values: An object containing all retrieved values.

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

58 calls to views_handler_field::get_value()
views_bulk_operations_handler_field_operations::views_form in sites/all/modules/ulmus/views_bulk_operations/views/views_bulk_operations_handler_field_operations.inc
The form which replaces the placeholder from render().
views_handler_field::render in sites/all/modules/ulmus/views/handlers/views_handler_field.inc
Render the field.
views_handler_field_accesslog_path::render in sites/all/modules/ulmus/views/modules/statistics/views_handler_field_accesslog_path.inc
Render the field.
views_handler_field_accesslog_path::render_link in sites/all/modules/ulmus/views/modules/statistics/views_handler_field_accesslog_path.inc
views_handler_field_aggregator_category::render in sites/all/modules/ulmus/views/modules/aggregator/views_handler_field_aggregator_category.inc
Render the field.

... See full list

11 methods override views_handler_field::get_value()
entity_views_handler_field_boolean::get_value in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_boolean.inc
Overridden to use a metadata wrapper.
entity_views_handler_field_date::get_value in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_date.inc
Overridden to use a metadata wrapper.
entity_views_handler_field_duration::get_value in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_duration.inc
Overridden to use a metadata wrapper.
entity_views_handler_field_entity::get_value in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_entity.inc
Overridden to use a metadata wrapper.
entity_views_handler_field_numeric::get_value in sites/all/modules/ulmus/entity/views/handlers/entity_views_handler_field_numeric.inc
Overridden to use a metadata wrapper.

... See full list

File

sites/all/modules/ulmus/views/handlers/views_handler_field.inc, line 374
@todo.

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};
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.