function views_handler_field::render_altered

cis7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)
cle7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)
elmsmedia7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)
icor7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)
meedjum_blog7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)
mooc7 views_handler_field.inc views_handler_field::render_altered($alter, $tokens)

Render this field as altered text, from a fieldset set by the user.

2 calls to views_handler_field::render_altered()
views_handler_field::render_text in sites/all/modules/ulmus/views/handlers/views_handler_field.inc
Perform an advanced text render for the item.
views_handler_field::tokenize_value in sites/all/modules/ulmus/views/handlers/views_handler_field.inc
Replace a value with tokens from the last field.

File

sites/all/modules/ulmus/views/handlers/views_handler_field.inc, line 1203
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function render_altered($alter, $tokens) {
  // Filter this right away as our substitutions are already sanitized.
  $value = filter_xss_admin($alter['text']);
  $value = strtr($value, $tokens);

  return $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.