| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 3 // $Id: views_groupby.views.inc,v 1.2 2009/03/03 01:07:33 inadarei Exp $ 4 5 /** @file 6 * Group By Views2 Include File 7 */ 8 9 10 /** 11 * Implementation of hook_views_data() 12 */ 13 function views_groupby_views_data() { 14 15 $data = array(); 16 17 $data['views_groupby']['table']['group'] = t('SQL Aggregation'); 18 $data['views_groupby']['table']['join'] = array( 19 '#global' => array(), 20 ); 21 22 $data['views_groupby']['views_sql_groupedfields'] = array( 23 'title' => t('Group By Fields'), 24 'help' => t('Select Fields to Group On'), 25 'field' => array( 26 'handler' => 'views_groupby_handler_field_groupfields', 27 ) 28 ); 29 30 31 32 return $data; 33 } 34 35 36 /** 37 * Implementation of hook_views_handlers(). 38 */ 39 function views_groupby_views_handlers() { 40 return array( 41 'info' => array( 42 'path' => drupal_get_path('module', 'views_groupby') . '/handlers', 43 ), 44 'handlers' => array( 45 // field 46 'views_groupby_handler_field_groupfields' => array( 47 'parent' => 'views_handler_field', 48 ) 49 ), 50 ); 51 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |