[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

File Size: 658 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 modules/node/node.pages.inc

Defines 27 functions

  station_playlist_help()
  station_playlist_menu()
  station_playlist_theme()
  station_playlist_node_info()
  station_playlist_perm()
  station_playlist_link()
  station_playlist_access()
  station_playlist_track_is_saveable()
  station_playlist_track_is_incomplete()
  station_playlist_get_empty_track()
  station_playlist_form()
  station_playlist_form_ahah_track_submit()
  theme_station_playlist_track_form()
  station_playlist_node_form_validate()
  _station_playlist_sort_tracks()
  station_playlist_validate()
  station_playlist_ahah()
  station_playlist_node_form_submit()
  station_playlist_load()
  station_playlist_insert()
  station_playlist_delete()
  station_playlist_update()
  station_playlist_view()
  station_playlist_nodeapi()
  station_playlist_autocomplete()
  station_playlist_content_extra_fields()
  station_playlist_views_api()

Functions
Functions that are not part of a class:

station_playlist_help($path, $arg)   X-Ref
Implementation of hook_help().


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


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


station_playlist_node_info()   X-Ref
Implementation of hook_node_info().


station_playlist_perm()   X-Ref
Implementation of hook_perm().


station_playlist_link($type, $object, $teaser = FALSE)   X-Ref
Implementation of hook_link().

This is implemented so that an edit link is displayed for users who have
the rights to edit a node.

station_playlist_access($op, $node, $account)   X-Ref
Implementation of hook_access().


station_playlist_track_is_saveable($track)   X-Ref
Does this track have all the required fields be saved?

Tracks need to have an artist or title to be saved to the database.

param: $track
return:

station_playlist_track_is_incomplete($track)   X-Ref
Does an unsavable track have other values set?

param: $track
return:

station_playlist_get_empty_track()   X-Ref
Helper function to build an empty track row.


station_playlist_form(&$node, $form_state)   X-Ref
Implementation of hook_form().

Build a form for playlist nodes.

station_playlist_form_ahah_track_submit($form, &$form_state)   X-Ref
A do nothing submit function to prevent the form from saving.


theme_station_playlist_track_form($form)   X-Ref
No description

station_playlist_node_form_validate($form, &$form_state)   X-Ref
No description

_station_playlist_sort_tracks($a, $b)   X-Ref
Helper function to sort tracks by weight.


station_playlist_validate(&$node, &$form)   X-Ref
Implementation of hook_validate().

Use this hook to convert form elements to node values.

station_playlist_ahah()   X-Ref
No description

station_playlist_node_form_submit($form, &$form_state)   X-Ref
Form submit handler to set the node's title().


station_playlist_load($node)   X-Ref
Implementation of hook_load().


station_playlist_insert($node)   X-Ref
Insert a new playlist


station_playlist_delete($node)   X-Ref
Delete a playlist.


station_playlist_update($node)   X-Ref
Update a playlist.


station_playlist_view(&$node, $teaser = false, $page = false)   X-Ref
Get a playlist ready for viewing.


station_playlist_nodeapi(&$node, $op, $teaser, $page)   X-Ref
Implementation of hook_nodeapi().

We inject our past and future playlists onto program nodes here.

station_playlist_autocomplete($field = '', $string = '')   X-Ref
Retrieve a list of autocomplete suggestions for playlist items.

param: $field
param: $string

station_playlist_content_extra_fields($type_name)   X-Ref
Implementation of hook_content_extra_fields.

Let CCK know about the playlist stuff we're putting on nodes.

station_playlist_views_api()   X-Ref
Implementation of hook_view_api().




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