예제 #1
0
 public function getCrmUserprofileTbl()
 {
     return $this->hasOne(CrmUserprofile::className(), ['ID' => 'USER_ID']);
 }
예제 #2
0
 public function getUserprofile()
 {
     return $this->hasOne(CrmUserprofile::className(), ['ID_USER' => 'ID_USER']);
 }