/usr/share/drupal6/modules/views_groupby/views_groupby.views.inc is in drupal6-mod-views-groupby 1.0~rc2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | <?php
// $Id: views_groupby.views.inc,v 1.2 2009/03/03 01:07:33 inadarei Exp $
/** @file
* Group By Views2 Include File
*/
/**
* Implementation of hook_views_data()
*/
function views_groupby_views_data() {
$data = array();
$data['views_groupby']['table']['group'] = t('SQL Aggregation');
$data['views_groupby']['table']['join'] = array(
'#global' => array(),
);
$data['views_groupby']['views_sql_groupedfields'] = array(
'title' => t('Group By Fields'),
'help' => t('Select Fields to Group On'),
'field' => array(
'handler' => 'views_groupby_handler_field_groupfields',
)
);
return $data;
}
/**
* Implementation of hook_views_handlers().
*/
function views_groupby_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'views_groupby') . '/handlers',
),
'handlers' => array(
// field
'views_groupby_handler_field_groupfields' => array(
'parent' => 'views_handler_field',
)
),
);
}
|