function views_plugin_style::get_row_class in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/views_plugin_style.inc \views_plugin_style::get_row_class()
Return the token replaced row class for the specified row.
File
- plugins/
views_plugin_style.inc, line 115
Class
- views_plugin_style
- Base class to define a style plugin handler.
Code
function get_row_class($row_index) {
if ($this
->uses_row_class()) {
$class = $this->options['row_class'];
if ($this
->uses_fields() && $this->view->field) {
$class = strip_tags($this
->tokenize_value($class, $row_index));
}
return views_css_safe($class);
}
}