Example #1
0
 /**
  *   get User type
  */
 public function getUserType()
 {
     return $this->hasOne(UserType::className(), ['user_type_value', 'user_type_id']);
 }