Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdVariabel()
 {
     return $this->hasOne(Variabel::className(), ['id' => 'id_variabel']);
 }
Beispiel #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getVariabels()
 {
     return $this->hasMany(Variabel::className(), ['id_topik' => 'id']);
 }