/[drupal]/contributions/modules/station/schedule/views/station_schedule_handler_field_time.inc
ViewVC logotype

Diff of /contributions/modules/station/schedule/views/station_schedule_handler_field_time.inc

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

revision 1.1, Mon Sep 21 17:43:32 2009 UTC revision 1.2, Tue Sep 22 20:45:37 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: station_schedule_handler_field_finish_time.inc,v 1.2 2009/06/10 05:07:12 drewish Exp $  // $Id: station_schedule_handler_field_time.inc,v 1.1 2009/09/21 17:43:32 drewish Exp $
3    
4  class station_schedule_handler_field_time extends views_handler_field {  class station_schedule_handler_field_time extends views_handler_field {
5    function option_definition() {    function option_definition() {
# Line 24  class station_schedule_handler_field_tim Line 24  class station_schedule_handler_field_tim
24    }    }
25    
26    function render($values) {    function render($values) {
27      return theme($this->options['style'], $values->{$this->field_alias});      if (isset($values->{$this->field_alias})) {
28          return theme($this->options['style'], $values->{$this->field_alias});
29        }
30    }    }
31  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2