private function findOrMakeUserOptionFor(AttendeeExtraFieldOption $attendeeOption)
    {
        if (!$option = $this->getUserFieldOption()->byID($attendeeOption->ID)) {
            $option = UserFieldOption::create();
        }

        $option->ID = $attendeeOption->ID;
        $option->Title = $attendeeOption->Title;
        $option->Default = $attendeeOption->Default;
        $option->Sort = $attendeeOption->Sort;
        return $option;
    }
private function findOrMakeUserOptionFor(AttendeeExtraFieldOption $attendeeOption)
    {
        if (!$option = $this->getUserFieldOption()->byID($attendeeOption->ID)) {
            $option = UserFieldOption::create();
        }

        $option->ID = $attendeeOption->ID;
        $option->Title = $attendeeOption->Title;
        $option->Default = $attendeeOption->Default;
        $option->Sort = $attendeeOption->Sort;
        return $option;
    }
private function findOrMakeUserOptionFor ( AttendeeExtraFieldOption $ attendeeOption ) { if ( ! $ option = $ this -> getUserFieldOption ( ) -> byID ( $ attendeeOption -> ID ) ) { $ option = UserFieldOption :: create ( ) ; } $ option -> ID = $ attendeeOption -> ID ; $ option -> Title = $ attendeeOption -> Title ; $ option -> Default = $ attendeeOption -> Default ; $ option -> Sort = $ attendeeOption -> Sort ; return $ option ; }
Find or make an option based on the given AttendeeExtraFieldOption

@param AttendeeExtraFieldOption $attendeeOption

@return \DataObject|UserFieldOption
Find or make an option based on the given AttendeeExtraFieldOption