public function getCommentStatus() { $data = $this->getCommentStatusList(); return isset($data[$this->comment_status]) ? $data[$this->comment_status] : Yii::t('BlogModule.blog', '*unknown*'); }