[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/station/ -> station.module (summary)

(no description)

File Size: 484 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 21 functions

  station_help()
  station_menu()
  station_theme()
  station_block()
  station_page()
  station_ajax_form_handler()
  station_has_archive()
  station_has_schedule()
  station_get_archive_url()
  station_get_schedules()
  station_default_schedule()
  station_get_program_at()
  station_block_current_program()
  theme_station_block_current_program()
  theme_station_streams()
  station_anded_list()
  station_ored_list()
  station_local_ts()
  station_today()
  _station_send_notice()
  _station_station_notice()

Functions
Functions that are not part of a class:

station_help($path, $arg)   X-Ref
No description

station_menu()   X-Ref
Implementation of hook_menu().


station_theme()   X-Ref
Implementation of hook_theme().


station_block($op = 'list', $delta = 0, $edit = array()   X-Ref
Implementation of hook_block().


station_page()   X-Ref
No description

station_ajax_form_handler()   X-Ref
AJAX form handler.


station_has_archive()   X-Ref
Determine if we have a station archive module running locally or access to a
remote one.

return: boolean

station_has_schedule()   X-Ref
Determine if we have a station schedule module running locally or access to a
remote one.

return: boolean

station_get_archive_url()   X-Ref
If there's an archive, return the URL.

return: FALSE or string URL.

station_get_schedules()   X-Ref
Return a list of schedules.

The list of schedules is cached between calls.

return: Array keyed to nid of schedules or FALSE on error.

station_default_schedule()   X-Ref
Return the default schedule.

return: Array with schedule info, or NULL if no schedules are available.

station_get_program_at($timestamp, $schedule_nid)   X-Ref
Return an object for the current program from the local machine or RPC if
that's not available.

param: $time
param: $schedule_nid
return:

station_block_current_program()   X-Ref
Return HTML body of the block listing the current program.

return: string

theme_station_block_current_program($schedule, $program)   X-Ref
Theme the current program block.

param: $schedule
param: $program
return: string

theme_station_streams($streams)   X-Ref
Theme a schedule's web streams.

param: $nid
param: $streams

station_anded_list($array)   X-Ref
Convert an array to a comma separates list with an 'add' between the last
terms.

param: $array array of items

station_ored_list($array)   X-Ref
Convert an array to a comma separates list with an 'or' between the last
terms.

param: $array array of items

station_local_ts($ts = FALSE)   X-Ref
Return a timezone corrected timestamp.


station_today()   X-Ref
Return the timezone corrected day of the week (1-7).


_station_send_notice($type, $op, $data)   X-Ref
Function to send notices of station changes via hook_station_notices.


_station_station_notice($type, $op, $data)   X-Ref
Implementation of hook_station_notices to display simple notices about
station changes.

param: $type 'dj' or 'schedule'
param: $op 'add', 'remove', 'change' - Change only applies to schedule
param: $data associative array with details like: nid, sid, uid.



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7