function media_recursive_check_plain

cis7 media.module media_recursive_check_plain(&$value, $key)
cle7 media.module media_recursive_check_plain(&$value, $key)
elmsmedia7 media.module media_recursive_check_plain(&$value, $key)
icor7 media.module media_recursive_check_plain(&$value, $key)
meedjum_blog7 media.module media_recursive_check_plain(&$value, $key)
mooc7 media.module media_recursive_check_plain(&$value, $key)

Utility function to recursively run check_plain on an array.

@todo There is probably something in core I am not aware of that does this.

2 string references to 'media_recursive_check_plain'
media_query_media_browser_alter in sites/all/modules/ulmus/media/media.media.inc
Implements hook_query_media_browser_alter().
media_set_browser_params in sites/all/modules/ulmus/media/includes/media.browser.inc
Provides a singleton of the params passed to the media browser.

File

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

Code

function media_recursive_check_plain(&$value, $key) {
  $value = check_plain($value);
}
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.