예제 #1
0
 public function getTechChannel()
 {
     if ($this->is_ticket) {
         return UserChannel::find_by_owner_id($this->tech_id);
     } else {
         return null;
     }
 }