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