public function recenttopics_get_topics_reput($event) { $topic_list = $event['topic_list']; if (!empty($topic_list)) { $this->topic_thanks = $this->helper->get_thanks_topic_number($topic_list); $this->max_topic_thanks = $this->helper->get_max_topic_thanks(); } }