function media_get_remote_stream_wrappers

cis7 media.module media_get_remote_stream_wrappers()
cle7 media.module media_get_remote_stream_wrappers()
elmsmedia7 media.module media_get_remote_stream_wrappers()
icor7 media.module media_get_remote_stream_wrappers()
meedjum_blog7 media.module media_get_remote_stream_wrappers()
mooc7 media.module media_get_remote_stream_wrappers()

Helper function to get a list of remote stream wrappers.

1 call to media_get_remote_stream_wrappers()
media_query_media_browser_alter in sites/all/modules/ulmus/media/media.media.inc
Implements hook_query_media_browser_alter().

File

sites/all/modules/ulmus/media/media.module, line 1258
Media API

Code

function media_get_remote_stream_wrappers() {
  $wrappers = file_get_stream_wrappers();
  $wrappers = array_diff_key($wrappers, file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL_NORMAL));
  $wrappers = array_diff_key($wrappers, file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL_HIDDEN));
  return $wrappers;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.