You are here

function kaltura_get_node_for_mix in Kaltura 5

Same name and namespace in other branches
  1. 6.2 kaltura.module \kaltura_get_node_for_mix()
  2. 6 kaltura.module \kaltura_get_node_for_mix()
  3. 7.2 kaltura.module \kaltura_get_node_for_mix()
5 calls to kaltura_get_node_for_mix()
kaltura_contribution_wizard in includes/kaltura.themeing.inc
kaltura_get_default_display in plugins/field_kaltura/field_kaltura.module
kaltura_get_full_display in plugins/field_kaltura/field_kaltura.module
kaltura_get_teaser_display in plugins/field_kaltura/field_kaltura.module
kaltura_get_thumbnail_display in plugins/field_kaltura/field_kaltura.module

File

./kaltura.module, line 575

Code

function kaltura_get_node_for_mix($show_id) {
  $get_q = 'SELECT nid FROM {node_kaltura} WHERE kaltura_entryId = \'%s\'';
  $result = db_query($get_q, $show_id);
  $obj = db_fetch_object($result);
  return $obj->nid;
}