You are here

function kaltura_extract_fields_from_view in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_extract_fields_from_view()
  2. 6 plugins/kaltura_playlist/kaltura_playlist.module \kaltura_extract_fields_from_view()
1 call to kaltura_extract_fields_from_view()
kaltura_get_view_raw_data in plugins/kaltura_playlist/kaltura_playlist.module

File

plugins/kaltura_playlist/kaltura_playlist.module, line 252

Code

function kaltura_extract_fields_from_view($view) {
  $all_fields = $view->field;
  foreach ($all_fields as $field_key => $data) {
    $fields[$data['queryname']] = $data['queryname'];
  }
  return $fields;
}