示例#1
0
 /**
  * @return ActiveQuery
  */
 public function getAuditoriya_rel()
 {
     return $this->hasOne(Auditoriya::className(), ['id' => 'auditoriya']);
 }
示例#2
0
文件: Kurs.php 项目: tsyrya/mybriop
 /**
  * @return ActiveQuery
  */
 public function getAuditoriya_po_umolchaniyu_rel()
 {
     return $this->hasOne(Auditoriya::className(), ['id' => 'auditoriya_po_umolchaniyu']);
 }