function views_handler_field::element_classes

cis7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)
cle7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)
elmsmedia7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)
icor7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)
meedjum_blog7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)
mooc7 views_handler_field.inc views_handler_field::element_classes($row_index = NULL)

Return the class of the field.

File

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

Class

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

Code

function element_classes($row_index = NULL) {
  $classes = explode(' ', $this->options['element_class']);
  foreach ($classes as &$class) {
    $class = $this->tokenize_value($class, $row_index);
    $class = views_clean_css_identifier($class);
  }
  return implode(' ', $classes);
}
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.