Exemplo n.º 1
0
Arquivo: Clubs.php Projeto: arsik/xfit
 public function getClubsVariants()
 {
     return $this->hasMany(Clubs::className(), ['clubID' => 'id']);
     //xz
 }
Exemplo n.º 2
0
Arquivo: Order.php Projeto: arsik/xfit
 public function getClubs()
 {
     return $this->hasOne(Clubs::className(), ['id' => 'clubID']);
 }
Exemplo n.º 3
0
Arquivo: City.php Projeto: arsik/xfit
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClubs()
 {
     return $this->hasMany(Clubs::className(), ['cityID' => 'id']);
 }