1,86d0 < diff --git a/inc/top_commenters.admin.inc b/inc/top_commenters.admin.inc < index 66a91c0..05e8927 100644 < --- a/inc/top_commenters.admin.inc < +++ b/inc/top_commenters.admin.inc < @@ -1,4 +1,5 @@ < CSS_THEME, 'every_page' => FALSE)); < return theme('top_commenters_page'); < diff --git a/inc/views/top_commenters.views.inc b/inc/views/top_commenters.views.inc < index 3bed144..be35c93 100644 < --- a/inc/views/top_commenters.views.inc < +++ b/inc/views/top_commenters.views.inc < @@ -6,7 +6,7 @@ < */ < < /** < - * Implements hook_views_data() < + * Implements hook_views_data(). < */ < function top_commenters_views_data() { < return array( < diff --git a/inc/views/top_commenters_views_handler_field_user_comment_count.inc b/inc/views/top_commenters_views_handler_field_user_comment_count.inc < index 5ec191f..7137d4a 100644 < --- a/inc/views/top_commenters_views_handler_field_user_comment_count.inc < +++ b/inc/views/top_commenters_views_handler_field_user_comment_count.inc < @@ -4,8 +4,15 @@ < * @file < * Contains the Comment count numeric field handler. < */ < - < +/** < + * Views user comment count handler to display some configurable result summary. < + * < + * @ingroup views_handler_field_numeric < + */ < class top_commenters_views_handler_field_user_comment_count extends views_handler_field_numeric { < +/** < + * Find out the information to render count. < + */ < function query() { < $this->ensure_my_table(); < $this->field_alias = $this->query->add_field( < diff --git a/inc/views/top_commenters_views_handler_sort_user_comment_count.inc b/inc/views/top_commenters_views_handler_sort_user_comment_count.inc < index 6c472c4..17487a0 100644 < --- a/inc/views/top_commenters_views_handler_sort_user_comment_count.inc < +++ b/inc/views/top_commenters_views_handler_sort_user_comment_count.inc < @@ -5,9 +5,17 @@ < * Contains the Comment count sort handler. < */ < < +/** < + * Views sort user comment handler to display some configurable result summary. < + * < + * @ingroup views_handler_sort < + */ < class top_commenters_views_handler_sort_user_comment_count extends views_handler_sort { < +/** < + * Add order to user comment count. < + */ < function query() { < - $this->ensure_my_table(); < - $this->query->add_orderby(NULL, NULL, $this->options['order'], 'user_comment_count'); < + $this->ensure_my_table(); < + $this->query->add_orderby(NULL, NULL, $this->options['order'], 'user_comment_count'); < } < }