[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/audio/ -> audio.pages.inc (summary)

(no description)

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

Defines 4 functions

  audio_page_browse_by()
  audio_download()
  audio_play()
  audio_file_transfer()

Functions
Functions that are not part of a class:

audio_page_browse_by($tag = NULL, $value = NULL)   X-Ref
Provide a way to browse the audio by metadata.

param: $tag
param: $value

audio_download($node)   X-Ref
Fetches an audio file, allows "shorthand" urls such of the form:
audio/view/$nid (e.g. audio/download/25/ or audio/download/14)

param: $nid

audio_play($node = FALSE)   X-Ref
Similar to audio_download, but for streaming playback instead of download.

param: $nid

audio_file_transfer($source, $headers)   X-Ref
Transfer a file to the client.

Variation on Drupal's file_transfer() function. The only difference
is that set_time_limit() is called to allow for large files.

param: $source
param: $headers



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