5 * Definition of views_handler_field_last_comment_timestamp.
9 * Field handler to display the timestamp of a comment with the count of comments.
11 * @ingroup views_field_handlers
13 class views_handler_field_last_comment_timestamp extends views_handler_field_date {
14 function construct() {
16 $this->additional_fields['comment_count'] = 'comment_count';
19 function render($values) {
20 $comment_count = $this->get_value($values, 'comment_count');
21 if (empty($this->options['empty_zero']) || $comment_count) {
22 return parent::render($values);