예제 #1
0
파일: RiskBooking.php 프로젝트: poykub/wph
 public function getSectTitle()
 {
     return $this->hasOne(Sect::className(), ['Name' => 'sectRecName']);
 }
예제 #2
0
파일: Risk.php 프로젝트: poykub/wph
 public function getMainReferTitle()
 {
     return $this->hasOne(Sect::className(), ['Code' => 'mainRefer']);
 }