You are here

data_node_views_handler_field_node_list.inc in Data 6

Class defition for data_node_views_handler_field_node_list.

File

data_node/views/data_node_views_handler_field_node_list.inc
View source
<?php

/**
 * @file
 * Class defition for data_node_views_handler_field_node_list.
 */
class data_node_views_handler_field_node_list extends views_handler_field {
  function allow_advanced_render() {
    return FALSE;
  }
  function query() {
    return;
  }
  function render($values) {
    if (user_access('manage data relations')) {
      $id = $values->{$this->view->base_field};
      $table = data_get_table($this->view->base_table);
      return data_node_render_labels($table, $id);
    }
  }

}

Classes

Namesort descending Description
data_node_views_handler_field_node_list @file Class defition for data_node_views_handler_field_node_list.