function views_css_safe
Prepare the specified string for use as a CSS identifier.
11 calls to views_css_safe()
- template_preprocess_views_view in theme/
theme.inc - Preprocess the primary theme implementation for a view.
- template_preprocess_views_view_fields in theme/
theme.inc - Preprocess theme function to print a single record from a row, with fields
- template_preprocess_views_view_list in theme/
theme.inc - Display the view as an HTML list element
- template_preprocess_views_view_table in theme/
theme.inc - Display a view as a table style.
- views_exposed_form in ./
views.module - Form builder for the exposed widgets form.
File
-
./
views.module, line 1694
Code
function views_css_safe($string) {
return str_replace('_', '-', $string);
}