app/dao/meeting_schedule_dao.rb
# Adds a new session to sessions colelction

Adds a new session to sessions colelction
Adds a new session to sessions colelction
def add_session( session_key, session_id, session_order, scheduled_date, pool_id, pool_type, lanes = 6, begin_time = '', warm_up_time = '', pool_name = '', pool_address = '', city = '', maps_uri = '', day_part = nil, notes = '' )
    @sessions[session_key] = MeetingScheduleSessionDAO.new( session_id, session_order, scheduled_date, pool_id, pool_type, lanes, begin_time, warm_up_time, pool_name, pool_address, city, maps_uri, day_part, notes )
    @meeting_date = scheduled_date if session_order == 1
    @sessions.size
  end
def add_session ( session_key , session_id , session_order , scheduled_date , pool_id , pool_type , lanes = 6 , begin_time = '' , warm_up_time = '' , pool_name = '' , pool_address = '' , city = '' , maps_uri = '' , day_part = nil , notes = '' ) @sessions [ session_key ] = MeetingScheduleSessionDAO . new ( session_id , session_order , scheduled_date , pool_id , pool_type , lanes , begin_time , warm_up_time , pool_name , pool_address , city , maps_uri , day_part , notes ) @meeting_date = scheduled_date if session_order == 1 @sessions . size end
Adds a new session to sessions colelction
Adds a new session to sessions colelction
# Sets meeting date with session scheduled date only if session order is 1

session_key
<not_specific>
session_id
<not_specific>
session_order
<not_specific>
scheduled_date
<not_specific>
pool_id
<not_specific>
pool_type
<not_specific>
lanes
<not_specific>
begin_time
<not_specific>
warm_up_time
<not_specific>
pool_name
<not_specific>
pool_address
<not_specific>
city
<not_specific>
maps_uri
<not_specific>
day_part
<not_specific>
notes
<not_specific>