You are here

function kaltura_views_get_all_views in Kaltura 5

1 call to kaltura_views_get_all_views()
kaltura_get_relevant_views in plugins/kaltura_playlist/kaltura_playlist.module

File

plugins/kaltura_playlist/kaltura_playlist.module, line 131

Code

function kaltura_views_get_all_views() {
  $result = db_query("SELECT vid FROM {view_view} ORDER BY name");
  while ($view = db_fetch_object($result)) {
    $views[$view->vid] = _views_load_view($view->vid);
  }
  return $views;
}