app/dao/calendar_dao.rb
# Adds a meetingDAO to the meeting colelction of calendar DAO

Adds a meetingDAO to the meeting colelction of calendar DAO
Adds a meetingDAO to the meeting colelction of calendar DAO
def add_meeting( meeting, current_user = nil, can_manage = false, team_affiliation_id = nil, is_user_tagged = false, is_team_tagged = false  )
    if meeting && meeting.instance_of?( Meeting )
      meetingDAO = MeetingDAO.new( meeting, current_user, can_manage, team_affiliation_id, is_user_tagged, is_team_tagged )
      @meetings << meetingDAO
      @meeting_count += 1
      @months << meetingDAO.month if !@months.include?( meetingDAO.month )
      @first_current = @meeting_count if meetingDAO.is_current && @first_current == 0
      @seasons[meetingDAO.season_type_code] = get_logo_for_season_type( meetingDAO.season_type_code ) if !@seasons.include?( meetingDAO.season_type_code )
    end
    @meeting_count
  end
def add_meeting ( meeting , current_user = nil , can_manage = false , team_affiliation_id = nil , is_user_tagged = false , is_team_tagged = false ) if meeting && meeting . instance_of? ( Meeting ) meetingDAO = MeetingDAO . new ( meeting , current_user , can_manage , team_affiliation_id , is_user_tagged , is_team_tagged ) @meetings << meetingDAO @meeting_count += 1 @months << meetingDAO . month if ! @months . include? ( meetingDAO . month ) @first_current = @meeting_count if meetingDAO . is_current && @first_current == 0 @seasons [ meetingDAO . season_type_code ] = get_logo_for_season_type ( meetingDAO . season_type_code ) if ! @seasons . include? ( meetingDAO . season_type_code ) end @meeting_count end
Adds a meetingDAO to the meeting colelction of calendar DAO
Adds a meetingDAO to the meeting colelction of calendar DAO
meeting
<not_specific>
current_user
<not_specific>
can_manage
<not_specific>
team_affiliation_id
<not_specific>
is_user_tagged
<not_specific>
is_team_tagged
<not_specific>