Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdInstallakt()
 {
     return $this->hasOne(Installakt::className(), ['installakt_id' => 'id_installakt'])->from(['idInstallakt' => Installakt::tableName()])->inverseOf('trMats');
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getInstallakts()
 {
     return $this->hasMany(Installakt::className(), ['id_installer' => 'employee_id'])->from(['installakts' => Installakt::tableName()]);
 }