public function getCategoryName() { $catModel = Cat::find()->where(['id' => $this->cat_id])->one(); return $catModel->title; }