Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots4()
 {
     return $this->hasMany(Slot::className(), ['item_5' => 'id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots()
 {
     return $this->hasMany(Slot::className(), ['hero_id' => 'id']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlot()
 {
     return $this->hasOne(Slot::className(), ['id' => 'slot_id']);
 }
Esempio n. 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSlots()
 {
     return $this->hasMany(Slot::className(), ['account_id' => 'account_id']);
 }