/**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdcontracts()
 {
     return $this->hasMany(Acdcontract::className(), ['personid' => 'personid']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdcontracts0()
 {
     return $this->hasMany(Acdcontract::className(), ['internalcourseoccurrenceid' => 'courseid', 'internalcourseoccurrenceversion' => 'courseversion', 'internalunitid' => 'unitid', 'internalturnid' => 'turnid']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContract()
 {
     return $this->hasOne(Acdcontract::className(), ['contractid' => 'contractid']);
 }
Esempio n. 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdcontracts()
 {
     return $this->hasMany(Acdcontract::className(), ['internalcontractid' => 'contractid']);
 }