Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatches()
 {
     return $this->hasMany(Match::className(), ['league_id' => 'id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatches()
 {
     return $this->hasMany(Match::className(), ['game_mode' => 'id']);
 }
Exemple #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatch()
 {
     return $this->hasOne(Match::className(), ['id' => 'match_id']);
 }
Exemple #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMatches()
 {
     return $this->hasMany(Match::className(), ['lobby_type' => 'id']);
 }