You are here

function kaltura_playlist_load in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_playlist_load()
  2. 6 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_playlist_load()

Implementation of hook_load().

File

plugins/kaltura_playlist/kaltura_playlist.module, line 206

Code

function kaltura_playlist_load($node) {
  $sql = 'SELECT playlist_view FROM {node_kaltura_playlist} WHERE vid = %d';
  $result = db_query($sql, $node->vid);
  $additions = db_fetch_object($result);
  return $additions;
}