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