
// Constructeur de la classe MatchListItem
function MatchListItem(m_id, m_name, m_lan, m_date, m_time, m_sport_id, m_sport_name, m_event_id, m_event_name, m_round_id, m_round_name, m_discipline_id, m_discipline_name, m_genderid, m_gendername, m_livetype, m_category, m_adversaire1_id, m_adversaire1_name, m_adversaire2_id, m_adversaire2_name, m_score, m_statusid, m_link, m_eventlink)
{
/*
m_id : id du match
m_name : nom du match
m_lan : langue du mathc
m_date : date du match
m_time : heure du match
m_sport_id : id du sport du match
m_sport_name : nom du sport du match
m_event_id : id de l'event associé au match
m_event_name : nom de l'event associé au match
m_round_id : id du round associé au match
m_round_name : nom du round associé au match
m_discipline_id : id de la discipline associée au match
m_discipline_name : nom de la discipline associée au match
m_genderid : id du gender associé au match (1 : homme , 2 : femme)
m_gendername : name du gender associé au match
m_livetype : type de match ('Live , 'Result', 'ComingUp')
m_category : catégorie du match ('Team', 'Motor', 'Sets', 'Other')
m_adversaire1_id : id de ladversaire 1
m_adversaire1_name : nom de l'adversaire 1 (peut être une équipe ou un joueur)
m_adversaire2_id : id de ladversaire 2
m_adversaire2_name : nom de ladversaire 2
m_statusid : id du statut du match (finished, cancelled, not started yet, .....)
m_link : url du lien vers la page du match
m_eventname : url du lien vers la page de l'event associé au match
*/
    this.id = m_id;
    this.name = m_name;
    this.lan = m_lan;
    this.date = m_date;
    this.time = m_time;
    this.sportid = m_sport_id;
    this.sportname = m_sport_name;
    this.eventid = m_event_id;
    this.eventname = m_event_name;
    this.roundid = m_round_id;
    this.roundname = m_round_name;
    this.disciplineid = m_discipline_id;
    this.disciplinename = m_discipline_name;
    this.genderid = m_genderid,
    this.gendername = m_gendername,
    this.livetype = m_livetype;
    this.category = m_category;
    this.AdversaireId1 = m_adversaire1_id;
    this.AdversaireName1 = m_adversaire1_name;
    this.AdversaireId2 = m_adversaire2_id;
    this.AdversaireName2 = m_adversaire2_name;
    this.score = m_score;
    this.statusid = m_statusid;
    this.link = m_link;
    this.eventlink = m_eventlink;
}


// Constructeur de la classe TickerListItem
function TickerListItem(t_id, t_name, t_lan, t_url, t_date, t_time, t_sport_id, t_sport_name, t_event_id, t_event_name, t_topic_id, t_topic_name){/*
t_id : id du ticker
t_name : name du ticker
t_lan : id de la langue du ticker
t_url : url du ticker
t_date : date du ticker
t_time : heure du ticker
t_sport_id : id du sport associé au ticker
t_sport_name : nom du sport associé au ticker
t_event_id : id de l'event associé au ticker
t_event_name : nom de l'event associé au ticker
t_topic_id : id de la rubrique du ticker (ticker, tickerHighLight, ...)
t_topic_name : name de la rubrique du ticker
*/
    this.id = t_id;
    this.name = t_name;
    this.lan = t_lan;
    this.url = t_url;
    this.date = t_date;
    this.time = t_time;
    this.sportid = t_sport_id;
    this.sportname = t_sport_name;
    this.eventid = t_event_id;
    this.eventname = t_event_name;
    this.topicid = t_topic_id;
    this.topicname = t_topic_name;
}