function content_views_field_handler_ungroup in Content Construction Kit (CCK) 5
1 call to content_views_field_handler_ungroup()
File
- ./
content_views.inc, line 188 - Interface between content.module and views.module.
Code
function content_views_field_handler_ungroup($field_info, $field_data, $value, $data) {
$field = $field_info['content_field'];
$item = array();
foreach ($field_info['content_db_info']['columns'] as $column => $attributes) {
$view_column_name = $field_data['tablename'] . '_' . $attributes['column'];
$item[$column] = $data->{$view_column_name};
}
$item['#delta'] = $data->{$field_data['tablename'] . '_delta'};
return content_format($field, $item, $field_data['options'], $data);
}