/** * Load the data * * @return void */ private function loadData() { // get latest published comments $this->comments = BackendBlogModel::getLatestComments('published', 5); // get count $this->numCommentStatus = BackendBlogModel::getCommentStatusCount(); }