/[drupal]/contributions/modules/views_calc/views_calc.views.inc
ViewVC logotype

Diff of /contributions/modules/views_calc/views_calc.views.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7, Sun May 17 11:11:17 2009 UTC revision 1.8, Fri Jun 12 13:23:33 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views_calc.views.inc,v 1.6 2009/04/25 13:41:00 karens Exp $  // $Id: views_calc.views.inc,v 1.7 2009/05/17 11:11:17 karens Exp $
3  /**  /**
4   * Implementation of hook_views_handlers().   * Implementation of hook_views_handlers().
5   */   */
# Line 25  function views_calc_views_data() { Line 25  function views_calc_views_data() {
25    $data = array();    $data = array();
26    $results = _views_calc_fields();    $results = _views_calc_fields();
27    while($field = db_fetch_array($results)) {    while($field = db_fetch_array($results)) {
28      $data['node']['cid'. $field['cid']] = array(      $data[$field['base']]['cid'. $field['cid']] = array(
29        'group' => t('Views Calc'),        'group' => t('Views Calc'),
30        'title' => t($field['label']),        'title' => t($field['label']),
31        'help' =>  $field['calc'],        'help' =>  $field['calc'],

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2