コード例 #1
0
 public function getCharact()
 {
     return $this->hasMany(CharactAttr::className(), ['categoryId' => 'id'])->andWhere(['langauge' => \Yii::$app->language]);
 }