You are here

function field_extractor_handler_field::get_items in Field Extractor 7

Return an array of items for the field.

Items should be stored in the result array, if possible, as an array with 'value' as the actual displayable value of the item, plus any items that might be found in the 'alter' options array for creating links, such as 'path', 'fragment', 'query' etc, such a thing is to be made. Additionally, items that might be turned into tokens should also be in this array.

Parameters

mixed $values:

Return value

array The items.

Overrides views_handler_field_prerender_list::get_items

File

views/field_extractor_handler_field.inc, line 195

Class

field_extractor_handler_field
Field extractor views field.

Code

function get_items($values) {
  return $values->{'field_extractor_' . $this->options['id']};
}