function views_handler_field_last_comment_timestamp::render in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 modules/comment/views_handler_field_last_comment_timestamp.inc \views_handler_field_last_comment_timestamp::render()
- 7.3 modules/comment/views_handler_field_last_comment_timestamp.inc \views_handler_field_last_comment_timestamp::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field_date::render
File
- modules/
comment/ views_handler_field_last_comment_timestamp.inc, line 9
Class
Code
function render($values) {
if (empty($this->options['empty_zero']) || $values->{$this->aliases['comment_count']}) {
return parent::render($values);
}
else {
return NULL;
}
}