public function computed_field_handler_aggregate::render in Computed Field 7
Renders the field handler.
Overrides views_handler_field::render
File
- ./
computed_field.module, line 588 - Functionality for the computed field.
Class
- computed_field_handler_aggregate
- Description of computed_field_handler_aggregate.
Code
public function render($values) {
if (isset($this->options['computed_field_name']) && $this->options['computed_field_name']) {
$field_data = 'field_data_' . $this->options['computed_field_name'] . '_' . $this->options['computed_field_name'] . '_value';
return $values->{$field_data};
}
return NULL;
}