1 views_handler_field_field.inc views_handler_field_field::render_items($items)

Render all items in this field together.

When using advanced render, each possible item in the list is rendered individually. Then the items are all pasted together.

File

core/modules/field/views/views_handler_field_field.inc, line 745
Definition of views_handler_field_field.

Class

views_handler_field_field
A field that displays fieldapi fields.

Code

function render_items($items) {
  if (!empty($items)) {
    if (!$this->options['group_rows']) {
      return implode('', $items);
    }

    if ($this->options['multi_type'] == 'separator') {
      return implode(filter_xss_admin($this->options['separator']), $items);
    }
    else {
      return theme('item_list', 
      array(
        'items' => $items,
        'title' => NULL,
        'type' => $this->options['multi_type']
      ));
    }
  }
}