function og_views_handler_field_og_post_count_new::render in Organic groups 6
Same name and namespace in other branches
- 6.2 modules/og_views/includes/og_views_handler_field_og_post_count_new.inc \og_views_handler_field_og_post_count_new::render()
File
- modules/
og_views/ includes/ og_views_handler_field_og_post_count_new.inc, line 15
Class
- og_views_handler_field_og_post_count_new
- We do not try to run db_rewrite_sql() on this subquery so the count is potentially more than the user can see.
Code
function render($values) {
if ($cnt = $values->{$this->field_alias}) {
return $cnt . theme('mark', MARK_NEW);
}
}