예제 #1
0
파일: Time.php 프로젝트: dieos2/bolaoyyi2
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getConfrontos1()
 {
     return $this->hasMany(Confronto::className(), ['vencedor' => 'id']);
 }
예제 #2
0
파일: Aposta.php 프로젝트: dieos2/bolaoyyi2
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdConfronto()
 {
     return $this->hasOne(Confronto::className(), ['id' => 'id_confronto']);
 }
예제 #3
0
파일: Grupo.php 프로젝트: dieos2/bolaoyyi2
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getConfrontos()
 {
     return $this->hasMany(Confronto::className(), ['id_grupo' => 'id']);
 }