function views_handler_field_last_comment_timestamp::construct
3.x views_handler_field_last_comment_timestamp.inc | views_handler_field_last_comment_timestamp::construct() |
2.x views_handler_field_last_comment_timestamp.inc | views_handler_field_last_comment_timestamp::construct() |
Construct a new field handler.
Overrides views_handler_field::construct
File
- modules/
comment/ views_handler_field_last_comment_timestamp.inc, line 14 - Definition of views_handler_field_last_comment_timestamp.
Class
- views_handler_field_last_comment_timestamp
- Field handler to display the timestamp of a comment with the count of comments.
Code
function construct() {
parent::construct();
$this->additional_fields['comment_count'] = 'comment_count';
}