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

Diff of /contributions/modules/station/schedule/views/station_schedule.views_default.inc

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

revision 1.4, Sun Apr 19 21:34:12 2009 UTC revision 1.5, Mon Jun 1 06:53:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id: station_schedule.views_default.inc,v 1.3 2009/01/13 04:57:26 drewish Exp $  // $Id: station_schedule.views_default.inc,v 1.4 2009/04/19 21:34:12 drewish Exp $
4    
5  /**  /**
6   * Implementation of hook_views_default_views().   * Implementation of hook_views_default_views().
7   */   */
8  function station_schedule_views_default_views() {  function station_schedule_views_default_views() {
9      /*
10       * View 'station_schedule_day'
11       */
12    $view = new view;    $view = new view;
13    $view->name = 'station_schedules';    $view->name = 'station_schedule_day';
14    $view->description = 'Station Schedules';    $view->description = 'Station Schedule\'s day view';
15    $view->tag = 'station';    $view->tag = 'station_schedule';
   $view->view_php = '';  
   $view->base_table = 'node';  
   $view->is_cacheable = FALSE;  
   $view->api_version = 2;  
   $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */  
   $handler = $view->new_display('default', 'Defaults', 'default');  
   $handler->override_option('fields', array(  
     'title' => array(  
       'label' => '',  
       'link_to_node' => 1,  
       'exclude' => 0,  
       'id' => 'title',  
       'table' => 'node',  
       'field' => 'title',  
       'override' => array(  
         'button' => 'Override',  
       ),  
       'relationship' => 'none',  
     ),  
   ));  
   $handler->override_option('sorts', array(  
     'title' => array(  
       'order' => 'ASC',  
       'id' => 'title',  
       'table' => 'node',  
       'field' => 'title',  
       'relationship' => 'none',  
     ),  
   ));  
   $handler->override_option('filters', array(  
     'type' => array(  
       'operator' => 'in',  
       'value' => array(  
         'station_schedule' => 'station_schedule',  
       ),  
       'group' => '0',  
       'exposed' => FALSE,  
       'expose' => array(  
         'operator' => FALSE,  
         'label' => '',  
       ),  
       'id' => 'type',  
       'table' => 'node',  
       'field' => 'type',  
       'relationship' => 'none',  
     ),  
     'status_extra' => array(  
       'operator' => '=',  
       'value' => '',  
       'group' => '0',  
       'exposed' => FALSE,  
       'expose' => array(  
         'operator' => FALSE,  
         'label' => '',  
       ),  
       'id' => 'status_extra',  
       'table' => 'node',  
       'field' => 'status_extra',  
       'relationship' => 'none',  
     ),  
   ));  
   $handler->override_option('access', array(  
     'type' => 'perm',  
     'perm' => 'view station schedule content',  
   ));  
   $handler->override_option('title', 'Schedule listing');  
   $handler->override_option('style_plugin', 'list');  
   $handler->override_option('style_options', array(  
     'type' => 'ul',  
   ));  
   $handler = $view->new_display('page', 'Page', 'page_1');  
   $handler->override_option('path', 'station/schedules');  
   $handler->override_option('menu', array(  
     'type' => 'normal',  
     'title' => 'Schedules',  
     'weight' => '0',  
     'name' => 'navigation',  
   ));  
   $handler->override_option('tab_options', array(  
     'type' => 'none',  
     'title' => '',  
     'weight' => 0,  
   ));  
   $views[$view->name] = $view;  
   
   
   
   
   $view = new view;  
   $view->name = 'station_scheduled_programs';  
   $view->description = 'Scheduled programs';  
   $view->tag = 'station';  
   $view->view_php = '';  
   $view->base_table = 'node';  
   $view->is_cacheable = FALSE;  
   $view->api_version = 2;  
   $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */  
   $handler = $view->new_display('default', 'Defaults', 'default');  
   $handler->override_option('fields', array(  
     'title' => array(  
       'label' => 'Title',  
       'link_to_node' => 0,  
       'exclude' => 0,  
       'id' => 'title',  
       'table' => 'node',  
       'field' => 'title',  
       'relationship' => 'none',  
     ),  
     'field_station_program_genre_value' => array(  
       'label' => '',  
       'link_to_node' => 0,  
       'label_type' => 'widget',  
       'format' => 'default',  
       'multiple' => array(  
         'group' => TRUE,  
         'multiple_number' => '',  
         'multiple_from' => '',  
         'multiple_reversed' => FALSE,  
       ),  
       'exclude' => 0,  
       'id' => 'field_station_program_genre_value',  
       'table' => 'node_data_field_station_program_genre',  
       'field' => 'field_station_program_genre_value',  
       'relationship' => 'none',  
     ),  
     'field_station_program_dj_uid' => array(  
       'label' => '',  
       'link_to_node' => 0,  
       'label_type' => 'widget',  
       'format' => 'default',  
       'multiple' => array(  
         'group' => 1,  
         'multiple_number' => '',  
         'multiple_from' => '',  
         'multiple_reversed' => 0,  
       ),  
       'exclude' => 0,  
       'id' => 'field_station_program_dj_uid',  
       'table' => 'node_data_field_station_program_dj',  
       'field' => 'field_station_program_dj_uid',  
       'relationship' => 'none',  
     ),  
   ));  
   $handler->override_option('sorts', array(  
     'title' => array(  
       'order' => 'ASC',  
       'id' => 'title',  
       'table' => 'node',  
       'field' => 'title',  
       'relationship' => 'none',  
     ),  
   ));  
   $handler->override_option('filters', array(  
     'type' => array(  
       'operator' => 'in',  
       'value' => array(  
         'station_program' => 'station_program',  
       ),  
       'group' => '0',  
       'exposed' => FALSE,  
       'expose' => array(  
         'operator' => FALSE,  
         'label' => '',  
       ),  
       'id' => 'type',  
       'table' => 'node',  
       'field' => 'type',  
       'relationship' => 'none',  
     ),  
     'status_extra' => array(  
       'id' => 'status_extra',  
       'table' => 'node',  
       'field' => 'status_extra',  
     ),  
   ));  
   $handler->override_option('access', array(  
     'type' => 'perm',  
     'perm' => 'view station program content',  
   ));  
   $handler->override_option('title', 'Scheduled programs');  
   $handler->override_option('use_pager', '1');  
   $handler->override_option('style_plugin', 'table');  
   $handler = $view->new_display('page', 'Page', 'page_1');  
   $handler->override_option('path', 'station/programs/schedule');  
   $handler->override_option('menu', array(  
     'type' => 'default tab',  
     'title' => 'Scheduled',  
     'weight' => '0',  
     'name' => 'navigation',  
   ));  
   $handler->override_option('tab_options', array(  
     'type' => 'normal',  
     'title' => 'Programs',  
     'weight' => '0',  
   ));  
   $views[$view->name] = $view;  
   
   
   
   $view = new view;  
   $view->name = 'station_schedule_items';  
   $view->description = 'Station schedule items';  
   $view->tag = 'station';  
16    $view->view_php = '';    $view->view_php = '';
17    $view->base_table = 'station_schedule_item';    $view->base_table = 'station_schedule_item';
18    $view->is_cacheable = FALSE;    $view->is_cacheable = FALSE;
# Line 240  function station_schedule_views_default_ Line 40  function station_schedule_views_default_
40    $handler->override_option('fields', array(    $handler->override_option('fields', array(
41      'start' => array(      'start' => array(
42        'label' => 'Time',        'label' => 'Time',
43        'style' => 'station_hour_range',        'style' => 'station_hour',
44        'exclude' => 0,        'exclude' => 0,
45        'id' => 'start',        'id' => 'start',
46        'table' => 'station_schedule_item',        'table' => 'station_schedule_item',
# Line 275  function station_schedule_views_default_ Line 75  function station_schedule_views_default_
75      ),      ),
76      'field_station_program_dj_uid' => array(      'field_station_program_dj_uid' => array(
77        'label' => 'DJs',        'label' => 'DJs',
78        'link_to_node' => 0,        'link_to_node' => 1,
79        'label_type' => 'widget',        'label_type' => 'widget',
80        'format' => 'default',        'format' => 'default',
81        'multiple' => array(        'multiple' => array(
# Line 302  function station_schedule_views_default_ Line 102  function station_schedule_views_default_
102    ));    ));
103    $handler->override_option('arguments', array(    $handler->override_option('arguments', array(
104      'nid' => array(      'nid' => array(
105        'default_action' => 'default',        'default_action' => 'not found',
106        'style_plugin' => 'default_summary',        'style_plugin' => 'default_summary',
107        'style_options' => array(),        'style_options' => array(),
108        'wildcard' => 'all',        'wildcard' => 'all',
# Line 320  function station_schedule_views_default_ Line 120  function station_schedule_views_default_
120        'relationship' => 'schedule_nid',        'relationship' => 'schedule_nid',
121        'default_options_div_prefix' => '',        'default_options_div_prefix' => '',
122        'default_argument_user' => 0,        'default_argument_user' => 0,
123        'default_argument_fixed' => '30',        'default_argument_fixed' => '',
124        'default_argument_php' => '',        'default_argument_php' => '',
125        'validate_argument_node_type' => array(        'validate_argument_node_type' => array(
126            'station_schedule' => 'station_schedule',
127          'blog' => 0,          'blog' => 0,
128          'poll' => 0,          'poll' => 0,
129          'audio' => 0,          'audio' => 0,
130          'image' => 0,          'image' => 0,
131          'station_album' => 0,          'station_album' => 0,
132            'station_playlist' => 0,
133          'station_program' => 0,          'station_program' => 0,
         'station_schedule' => 0,  
134          'book' => 0,          'book' => 0,
135          'job' => 0,          'location' => 0,
136          'page' => 0,          'page' => 0,
137          'story' => 0,          'story' => 0,
138          'video' => 0,          'video' => 0,
# Line 343  function station_schedule_views_default_ Line 144  function station_schedule_views_default_
144          '2' => 0,          '2' => 0,
145        ),        ),
146        'validate_argument_type' => 'tid',        'validate_argument_type' => 'tid',
147          'image_size' => array(
148            '_original' => '_original',
149            'thumbnail' => 'thumbnail',
150            'preview' => 'preview',
151          ),
152        'validate_argument_php' => '',        'validate_argument_php' => '',
153      ),      ),
154    ));      'start_3' => array(
155    $handler->override_option('access', array(        'default_action' => 'empty',
156      'type' => 'none',        'style_plugin' => 'default_summary',
157    ));        'style_options' => array(
158    $handler->override_option('style_plugin', 'table');          'count' => 1,
159    $handler->override_option('style_options', array(          'override' => 0,
160      'grouping' => '',          'items_per_page' => '25',
     'override' => 1,  
     'sticky' => 0,  
     'order' => 'asc',  
     'columns' => array(  
       'iid' => 'iid',  
       'title' => 'title',  
     ),  
     'info' => array(  
       'iid' => array(  
         'separator' => '',  
       ),  
       'title' => array(  
         'sortable' => 0,  
         'separator' => '',  
161        ),        ),
162      ),        'wildcard' => 'all',
163      'default' => '-1',        'wildcard_substitution' => 'All',
164    ));        'title' => '',
165    $views[$view->name] = $view;        'default_argument_type' => 'fixed',
166          'default_argument' => '',
167          'validate_type' => 'none',
168          'validate_fail' => 'not found',
169          'id' => 'start_3',
170          'table' => 'station_schedule_item',
171          'field' => 'start',
172          'relationship' => 'none',
173          'default_options_div_prefix' => '',
174          'default_argument_user' => 0,
175          'default_argument_fixed' => '',
176          'default_argument_php' => '',
177          'validate_argument_node_type' => array(
178            'blog' => 0,
179            'poll' => 0,
180            'audio' => 0,
181            'image' => 0,
182            'station_album' => 0,
183            'station_playlist' => 0,
184            'station_program' => 0,
185            'station_schedule' => 0,
186            'book' => 0,
187            'location' => 0,
188            'page' => 0,
189            'story' => 0,
190            'video' => 0,
191          ),
192          'validate_argument_node_access' => 0,
193          'validate_argument_nid_type' => 'nid',
194          'validate_argument_vocabulary' => array(
195            '1' => 0,
196            '2' => 0,
197          ),
198          'validate_argument_type' => 'tid',
199          'image_size' => array(
200            '_original' => '_original',
201            'thumbnail' => 'thumbnail',
202            'preview' => 'preview',
203          ),
204          'validate_argument_php' => '',
205        ),
206      ));
207      $handler->override_option('filters', array(
208        'status_extra' => array(
209          'operator' => '=',
210          'value' => '',
211          'group' => '0',
212          'exposed' => FALSE,
213          'expose' => array(
214            'operator' => FALSE,
215            'label' => '',
216          ),
217          'id' => 'status_extra',
218          'table' => 'node',
219          'field' => 'status_extra',
220          'relationship' => 'program_nid',
221        ),
222      ));
223      $handler->override_option('access', array(
224        'type' => 'perm',
225        'perm' => 'view schedule content',
226      ));
227      $handler->override_option('empty', 'There are no programs scheduled for this day.');
228      $handler->override_option('empty_format', '1');
229      $handler->override_option('items_per_page', 0);
230      $handler->override_option('style_plugin', 'table');
231      $handler->override_option('style_options', array(
232        'grouping' => '',
233        'override' => 1,
234        'sticky' => 0,
235        'order' => 'asc',
236        'columns' => array(
237          'start' => 'start',
238        ),
239        'info' => array(
240          'start' => array(
241            'sortable' => 0,
242            'separator' => '',
243          ),
244        ),
245        'default' => '-1',
246      ));
247      $views[$view->name] = $view;
248    
249      /*
250       * View 'station_schedule_items'
251       */
252    $view = new view;    $view = new view;
253    $view->name = 'station_schedule_day';    $view->name = 'station_schedule_items';
254    $view->description = 'Station Schedule\'s day view';    $view->description = 'Station schedule items';
255    $view->tag = 'station';    $view->tag = 'station_schedule';
256    $view->view_php = '';    $view->view_php = '';
257    $view->base_table = 'station_schedule_item';    $view->base_table = 'station_schedule_item';
258    $view->is_cacheable = FALSE;    $view->is_cacheable = FALSE;
# Line 405  function station_schedule_views_default_ Line 280  function station_schedule_views_default_
280    $handler->override_option('fields', array(    $handler->override_option('fields', array(
281      'start' => array(      'start' => array(
282        'label' => 'Time',        'label' => 'Time',
283        'style' => 'station_hour',        'style' => 'station_hour_range',
284        'exclude' => 0,        'exclude' => 0,
285        'id' => 'start',        'id' => 'start',
286        'table' => 'station_schedule_item',        'table' => 'station_schedule_item',
# Line 440  function station_schedule_views_default_ Line 315  function station_schedule_views_default_
315      ),      ),
316      'field_station_program_dj_uid' => array(      'field_station_program_dj_uid' => array(
317        'label' => 'DJs',        'label' => 'DJs',
318        'link_to_node' => 1,        'link_to_node' => 0,
319        'label_type' => 'widget',        'label_type' => 'widget',
320        'format' => 'default',        'format' => 'default',
321        'multiple' => array(        'multiple' => array(
# Line 467  function station_schedule_views_default_ Line 342  function station_schedule_views_default_
342    ));    ));
343    $handler->override_option('arguments', array(    $handler->override_option('arguments', array(
344      'nid' => array(      'nid' => array(
345        'default_action' => 'not found',        'default_action' => 'default',
346        'style_plugin' => 'default_summary',        'style_plugin' => 'default_summary',
347        'style_options' => array(),        'style_options' => array(),
348        'wildcard' => 'all',        'wildcard' => 'all',
# Line 485  function station_schedule_views_default_ Line 360  function station_schedule_views_default_
360        'relationship' => 'schedule_nid',        'relationship' => 'schedule_nid',
361        'default_options_div_prefix' => '',        'default_options_div_prefix' => '',
362        'default_argument_user' => 0,        'default_argument_user' => 0,
363        'default_argument_fixed' => '',        'default_argument_fixed' => '30',
364        'default_argument_php' => '',        'default_argument_php' => '',
365        'validate_argument_node_type' => array(        'validate_argument_node_type' => array(
         'station_schedule' => 'station_schedule',  
366          'blog' => 0,          'blog' => 0,
367          'poll' => 0,          'poll' => 0,
368          'audio' => 0,          'audio' => 0,
369          'image' => 0,          'image' => 0,
370          'station_album' => 0,          'station_album' => 0,
         'station_playlist' => 0,  
371          'station_program' => 0,          'station_program' => 0,
372            'station_schedule' => 0,
373          'book' => 0,          'book' => 0,
374          'location' => 0,          'job' => 0,
375          'page' => 0,          'page' => 0,
376          'story' => 0,          'story' => 0,
377          'video' => 0,          'video' => 0,
# Line 509  function station_schedule_views_default_ Line 383  function station_schedule_views_default_
383          '2' => 0,          '2' => 0,
384        ),        ),
385        'validate_argument_type' => 'tid',        'validate_argument_type' => 'tid',
       'image_size' => array(  
         '_original' => '_original',  
         'thumbnail' => 'thumbnail',  
         'preview' => 'preview',  
       ),  
386        'validate_argument_php' => '',        'validate_argument_php' => '',
387      ),      ),
388      'start_3' => array(    ));
389        'default_action' => 'empty',    $handler->override_option('access', array(
390        'style_plugin' => 'default_summary',      'type' => 'none',
391        'style_options' => array(    ));
392          'count' => 1,    $handler->override_option('style_plugin', 'table');
393          'override' => 0,    $handler->override_option('style_options', array(
394          'items_per_page' => '25',      'grouping' => '',
395        'override' => 1,
396        'sticky' => 0,
397        'order' => 'asc',
398        'columns' => array(
399          'iid' => 'iid',
400          'title' => 'title',
401        ),
402        'info' => array(
403          'iid' => array(
404            'separator' => '',
405        ),        ),
406        'wildcard' => 'all',        'title' => array(
407        'wildcard_substitution' => 'All',          'sortable' => 0,
408        'title' => '',          'separator' => '',
409        'default_argument_type' => 'fixed',        ),
410        'default_argument' => '',      ),
411        'validate_type' => 'none',      'default' => '-1',
412        'validate_fail' => 'not found',    ));
413        'id' => 'start_3',    $views[$view->name] = $view;
414        'table' => 'station_schedule_item',  
415        'field' => 'start',    /*
416       * View 'station_scheduled_programs'
417       */
418      $view = new view;
419      $view->name = 'station_scheduled_programs';
420      $view->description = 'Scheduled programs';
421      $view->tag = 'station_schedule';
422      $view->view_php = '';
423      $view->base_table = 'node';
424      $view->is_cacheable = FALSE;
425      $view->api_version = 2;
426      $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
427      $handler = $view->new_display('default', 'Defaults', 'default');
428      $handler->override_option('fields', array(
429        'title' => array(
430          'label' => 'Title',
431          'link_to_node' => 0,
432          'exclude' => 0,
433          'id' => 'title',
434          'table' => 'node',
435          'field' => 'title',
436        'relationship' => 'none',        'relationship' => 'none',
437        'default_options_div_prefix' => '',      ),
438        'default_argument_user' => 0,      'field_station_program_genre_value' => array(
439        'default_argument_fixed' => '',        'label' => '',
440        'default_argument_php' => '',        'link_to_node' => 0,
441        'validate_argument_node_type' => array(        'label_type' => 'widget',
442          'blog' => 0,        'format' => 'default',
443          'poll' => 0,        'multiple' => array(
444          'audio' => 0,          'group' => TRUE,
445          'image' => 0,          'multiple_number' => '',
446          'station_album' => 0,          'multiple_from' => '',
447          'station_playlist' => 0,          'multiple_reversed' => FALSE,
         'station_program' => 0,  
         'station_schedule' => 0,  
         'book' => 0,  
         'location' => 0,  
         'page' => 0,  
         'story' => 0,  
         'video' => 0,  
448        ),        ),
449        'validate_argument_node_access' => 0,        'exclude' => 0,
450        'validate_argument_nid_type' => 'nid',        'id' => 'field_station_program_genre_value',
451        'validate_argument_vocabulary' => array(        'table' => 'node_data_field_station_program_genre',
452          '1' => 0,        'field' => 'field_station_program_genre_value',
453          '2' => 0,        'relationship' => 'none',
454        ),
455        'field_station_program_dj_uid' => array(
456          'label' => '',
457          'link_to_node' => 0,
458          'label_type' => 'widget',
459          'format' => 'default',
460          'multiple' => array(
461            'group' => 1,
462            'multiple_number' => '',
463            'multiple_from' => '',
464            'multiple_reversed' => 0,
465        ),        ),
466        'validate_argument_type' => 'tid',        'exclude' => 0,
467        'image_size' => array(        'id' => 'field_station_program_dj_uid',
468          '_original' => '_original',        'table' => 'node_data_field_station_program_dj',
469          'thumbnail' => 'thumbnail',        'field' => 'field_station_program_dj_uid',
470          'preview' => 'preview',        'relationship' => 'none',
471        ),
472      ));
473      $handler->override_option('sorts', array(
474        'title' => array(
475          'order' => 'ASC',
476          'id' => 'title',
477          'table' => 'node',
478          'field' => 'title',
479          'relationship' => 'none',
480        ),
481      ));
482      $handler->override_option('filters', array(
483        'type' => array(
484          'operator' => 'in',
485          'value' => array(
486            'station_program' => 'station_program',
487        ),        ),
488        'validate_argument_php' => '',        'group' => '0',
489          'exposed' => FALSE,
490          'expose' => array(
491            'operator' => FALSE,
492            'label' => '',
493          ),
494          'id' => 'type',
495          'table' => 'node',
496          'field' => 'type',
497          'relationship' => 'none',
498        ),
499        'status_extra' => array(
500          'id' => 'status_extra',
501          'table' => 'node',
502          'field' => 'status_extra',
503        ),
504      ));
505      $handler->override_option('access', array(
506        'type' => 'perm',
507        'perm' => 'view station program content',
508      ));
509      $handler->override_option('title', 'Scheduled programs');
510      $handler->override_option('use_pager', '1');
511      $handler->override_option('style_plugin', 'table');
512      $handler = $view->new_display('page', 'Page', 'page_1');
513      $handler->override_option('path', 'station/programs/schedule');
514      $handler->override_option('menu', array(
515        'type' => 'default tab',
516        'title' => 'Scheduled',
517        'description' => '',
518        'weight' => '0',
519        'name' => 'navigation',
520      ));
521      $handler->override_option('tab_options', array(
522        'type' => 'normal',
523        'title' => 'Programs',
524        'description' => '',
525        'weight' => '0',
526      ));
527      $views[$view->name] = $view;
528    
529      /*
530       * View 'station_schedules'
531       */
532      $view = new view;
533      $view->name = 'station_schedules';
534      $view->description = 'Station Schedules';
535      $view->tag = 'station_schedule';
536      $view->view_php = '';
537      $view->base_table = 'node';
538      $view->is_cacheable = FALSE;
539      $view->api_version = 2;
540      $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
541      $handler = $view->new_display('default', 'Defaults', 'default');
542      $handler->override_option('fields', array(
543        'title' => array(
544          'label' => '',
545          'link_to_node' => 1,
546          'exclude' => 0,
547          'id' => 'title',
548          'table' => 'node',
549          'field' => 'title',
550          'override' => array(
551            'button' => 'Override',
552          ),
553          'relationship' => 'none',
554        ),
555      ));
556      $handler->override_option('sorts', array(
557        'title' => array(
558          'order' => 'ASC',
559          'id' => 'title',
560          'table' => 'node',
561          'field' => 'title',
562          'relationship' => 'none',
563      ),      ),
564    ));    ));
565    $handler->override_option('filters', array(    $handler->override_option('filters', array(
566        'type' => array(
567          'operator' => 'in',
568          'value' => array(
569            'station_schedule' => 'station_schedule',
570          ),
571          'group' => '0',
572          'exposed' => FALSE,
573          'expose' => array(
574            'operator' => FALSE,
575            'label' => '',
576          ),
577          'id' => 'type',
578          'table' => 'node',
579          'field' => 'type',
580          'relationship' => 'none',
581        ),
582      'status_extra' => array(      'status_extra' => array(
583        'operator' => '=',        'operator' => '=',
584        'value' => '',        'value' => '',
# Line 582  function station_schedule_views_default_ Line 591  function station_schedule_views_default_
591        'id' => 'status_extra',        'id' => 'status_extra',
592        'table' => 'node',        'table' => 'node',
593        'field' => 'status_extra',        'field' => 'status_extra',
594        'relationship' => 'program_nid',        'relationship' => 'none',
595      ),      ),
596    ));    ));
597    $handler->override_option('access', array(    $handler->override_option('access', array(
598      'type' => 'perm',      'type' => 'perm',
599      'perm' => 'view schedule content',      'perm' => 'view station schedule content',
600    ));    ));
601    $handler->override_option('empty', 'There are no programs scheduled for this day.');    $handler->override_option('title', 'Schedule listing');
602    $handler->override_option('empty_format', '1');    $handler->override_option('style_plugin', 'list');
   $handler->override_option('items_per_page', 0);  
   $handler->override_option('style_plugin', 'table');  
603    $handler->override_option('style_options', array(    $handler->override_option('style_options', array(
604      'grouping' => '',      'type' => 'ul',
605      'override' => 1,    ));
606      'sticky' => 0,    $handler = $view->new_display('page', 'Page', 'page_1');
607      'order' => 'asc',    $handler->override_option('path', 'station/schedules');
608      'columns' => array(    $handler->override_option('menu', array(
609        'start' => 'start',      'type' => 'normal',
610      ),      'title' => 'Schedules',
611      'info' => array(      'description' => '',
612        'start' => array(      'weight' => '0',
613          'sortable' => 0,      'name' => 'navigation',
614          'separator' => '',    ));
615        ),    $handler->override_option('tab_options', array(
616      ),      'type' => 'none',
617      'default' => '-1',      'title' => '',
618        'description' => '',
619        'weight' => 0,
620    ));    ));
621    $views[$view->name] = $view;    $views[$view->name] = $view;
622    
   
   
623    return $views;    return $views;
624  }  }
625    
626    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2