120] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => Yii::t('app', 'ID'), 'team_id' => Yii::t('app', 'Team ID'), 'title' => Yii::t('app', 'Title'), 'value' => Yii::t('app', 'Value'), ]; } /** * @return \yii\db\ActiveQuery */ public function getTeam() { return $this->hasOne(Team::className(), ['id' => 'team_id']); } /** * @inheritdoc * @return TeamInterestsQuery the active query used by this AR class. */ public static function find() { return new TeamInterestsQuery(get_called_class()); } }