<?php
Class ShowServiceData
{
    //Just a regular show - Non repeating, and not a recording & rebroadcast show.
    public static function getNoRepeatNoRRData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-01",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2016-01-01",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 0,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2016-01-01",
            "add_show_no_end" => 1,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 0,
            "add_show_rebroadcast" => 0,
            "add_show_rebroadcast_date_absolute_1" => null,
            "add_show_rebroadcast_time_absolute_1" => null,
            "add_show_rebroadcast_date_absolute_2" => null,
            "add_show_rebroadcast_time_absolute_2" => null,
            "add_show_rebroadcast_date_absolute_3" => null,
            "add_show_rebroadcast_time_absolute_3" => null,
            "add_show_rebroadcast_date_absolute_4" => null,
            "add_show_rebroadcast_time_absolute_4" => null,
            "add_show_rebroadcast_date_absolute_5" => null,
            "add_show_rebroadcast_time_absolute_5" => null,
            "add_show_rebroadcast_date_absolute_6" => null,
            "add_show_rebroadcast_time_absolute_6" => null,
            "add_show_rebroadcast_date_absolute_7" => null,
            "add_show_rebroadcast_time_absolute_7" => null,
            "add_show_rebroadcast_date_absolute_8" => null,
            "add_show_rebroadcast_time_absolute_8" => null,
            "add_show_rebroadcast_date_absolute_9" => null,
            "add_show_rebroadcast_time_absolute_9" => null,
            "add_show_rebroadcast_date_absolute_10" => null,
            "add_show_rebroadcast_time_absolute_10" => null,
            "add_show_rebroadcast_date_1" => null,
            "add_show_rebroadcast_time_1" => null,
            "add_show_rebroadcast_date_2" => null,
            "add_show_rebroadcast_time_2" => null,
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => null
        );
    }

    public static function getWeeklyRepeatNoEndNoRRData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-01",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2016-01-01",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 1,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2016-01-01",
            "add_show_no_end" => 1,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 0,
            "add_show_rebroadcast" => 0,
            "add_show_rebroadcast_date_absolute_1" => null,
            "add_show_rebroadcast_time_absolute_1" => null,
            "add_show_rebroadcast_date_absolute_2" => null,
            "add_show_rebroadcast_time_absolute_2" => null,
            "add_show_rebroadcast_date_absolute_3" => null,
            "add_show_rebroadcast_time_absolute_3" => null,
            "add_show_rebroadcast_date_absolute_4" => null,
            "add_show_rebroadcast_time_absolute_4" => null,
            "add_show_rebroadcast_date_absolute_5" => null,
            "add_show_rebroadcast_time_absolute_5" => null,
            "add_show_rebroadcast_date_absolute_6" => null,
            "add_show_rebroadcast_time_absolute_6" => null,
            "add_show_rebroadcast_date_absolute_7" => null,
            "add_show_rebroadcast_time_absolute_7" => null,
            "add_show_rebroadcast_date_absolute_8" => null,
            "add_show_rebroadcast_time_absolute_8" => null,
            "add_show_rebroadcast_date_absolute_9" => null,
            "add_show_rebroadcast_time_absolute_9" => null,
            "add_show_rebroadcast_date_absolute_10" => null,
            "add_show_rebroadcast_time_absolute_10" => null,
            "add_show_rebroadcast_date_1" => null,
            "add_show_rebroadcast_time_1" => null,
            "add_show_rebroadcast_date_2" => null,
            "add_show_rebroadcast_time_2" => null,
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => array(5)
        );
    }

    public static function getWeeklyRepeatWithEndNoRRData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-01",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2016-01-01",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 1,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2016-01-26",
            "add_show_no_end" => 0,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 0,
            "add_show_rebroadcast" => 0,
            "add_show_rebroadcast_date_absolute_1" => null,
            "add_show_rebroadcast_time_absolute_1" => null,
            "add_show_rebroadcast_date_absolute_2" => null,
            "add_show_rebroadcast_time_absolute_2" => null,
            "add_show_rebroadcast_date_absolute_3" => null,
            "add_show_rebroadcast_time_absolute_3" => null,
            "add_show_rebroadcast_date_absolute_4" => null,
            "add_show_rebroadcast_time_absolute_4" => null,
            "add_show_rebroadcast_date_absolute_5" => null,
            "add_show_rebroadcast_time_absolute_5" => null,
            "add_show_rebroadcast_date_absolute_6" => null,
            "add_show_rebroadcast_time_absolute_6" => null,
            "add_show_rebroadcast_date_absolute_7" => null,
            "add_show_rebroadcast_time_absolute_7" => null,
            "add_show_rebroadcast_date_absolute_8" => null,
            "add_show_rebroadcast_time_absolute_8" => null,
            "add_show_rebroadcast_date_absolute_9" => null,
            "add_show_rebroadcast_time_absolute_9" => null,
            "add_show_rebroadcast_date_absolute_10" => null,
            "add_show_rebroadcast_time_absolute_10" => null,
            "add_show_rebroadcast_date_1" => null,
            "add_show_rebroadcast_time_1" => null,
            "add_show_rebroadcast_date_2" => null,
            "add_show_rebroadcast_time_2" => null,
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => array(5)
        );
    }

    public static function getWeeklyRepeatDays()
    {
        return array(1,2,3,4,5);
    }

    public static function getDailyRepeatDays()
    {
        return array(0,1,2,3,4,5,6);
    }

    public static function getEditRepeatInstanceData()
    {
        return array(
            "add_show_id" => 1,
            "add_show_instance_id" => 2,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-08",
            "add_show_start_time" => "01:00",
            "add_show_end_date_no_repeat" => "2016-01-08",
            "add_show_end_time" => "02:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 0,
            "add_show_linked" => 0,
            "add_show_no_end" => 0,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "add_show_record" => 0,
            "add_show_rebroadcast" => 0,
            "add_show_hosts" => null
        );
    }

    public static function getOverlappingShowCheckTestData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2014-01-05",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2014-01-05",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 1,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2014-01-05",
            "add_show_no_end" => 1,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 0,
            "add_show_rebroadcast" => 0,
            "add_show_rebroadcast_date_absolute_1" => null,
            "add_show_rebroadcast_time_absolute_1" => null,
            "add_show_rebroadcast_date_absolute_2" => null,
            "add_show_rebroadcast_time_absolute_2" => null,
            "add_show_rebroadcast_date_absolute_3" => null,
            "add_show_rebroadcast_time_absolute_3" => null,
            "add_show_rebroadcast_date_absolute_4" => null,
            "add_show_rebroadcast_time_absolute_4" => null,
            "add_show_rebroadcast_date_absolute_5" => null,
            "add_show_rebroadcast_time_absolute_5" => null,
            "add_show_rebroadcast_date_absolute_6" => null,
            "add_show_rebroadcast_time_absolute_6" => null,
            "add_show_rebroadcast_date_absolute_7" => null,
            "add_show_rebroadcast_time_absolute_7" => null,
            "add_show_rebroadcast_date_absolute_8" => null,
            "add_show_rebroadcast_time_absolute_8" => null,
            "add_show_rebroadcast_date_absolute_9" => null,
            "add_show_rebroadcast_time_absolute_9" => null,
            "add_show_rebroadcast_date_absolute_10" => null,
            "add_show_rebroadcast_time_absolute_10" => null,
            "add_show_rebroadcast_date_1" => null,
            "add_show_rebroadcast_time_1" => null,
            "add_show_rebroadcast_date_2" => null,
            "add_show_rebroadcast_time_2" => null,
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => array(0,1,2,3,4,5,6)
        );
    }

    /** Returns form data for a non-repeating, record and rebroadcast(RR) show **/
    public static function getNoRepeatRRData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-01",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2016-01-01",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 0,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2016-01-01",
            "add_show_no_end" => 1,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 1,
            "add_show_rebroadcast" => 1,
            "add_show_rebroadcast_date_absolute_1" => "2016-01-02",
            "add_show_rebroadcast_time_absolute_1" => "00:00",
            "add_show_rebroadcast_date_absolute_2" => "2016-01-03",
            "add_show_rebroadcast_time_absolute_2" => "00:00",
            "add_show_rebroadcast_date_absolute_3" => "2016-01-04",
            "add_show_rebroadcast_time_absolute_3" => "00:00",
            "add_show_rebroadcast_date_absolute_4" => "2016-01-05",
            "add_show_rebroadcast_time_absolute_4" => "00:00",
            "add_show_rebroadcast_date_absolute_5" => "2016-01-06",
            "add_show_rebroadcast_time_absolute_5" => "00:00",
            "add_show_rebroadcast_date_absolute_6" => "2016-01-07",
            "add_show_rebroadcast_time_absolute_6" => "00:00",
            "add_show_rebroadcast_date_absolute_7" => "2016-01-08",
            "add_show_rebroadcast_time_absolute_7" => "00:00",
            "add_show_rebroadcast_date_absolute_8" => "2016-01-09",
            "add_show_rebroadcast_time_absolute_8" => "00:00",
            "add_show_rebroadcast_date_absolute_9" => "2016-01-10",
            "add_show_rebroadcast_time_absolute_9" => "00:00",
            "add_show_rebroadcast_date_absolute_10" => "2016-01-11",
            "add_show_rebroadcast_time_absolute_10" => "00:00",
            "add_show_rebroadcast_date_1" => null,
            "add_show_rebroadcast_time_1" => null,
            "add_show_rebroadcast_date_2" => null,
            "add_show_rebroadcast_time_2" => null,
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => null
        );
    }

    public static function getWeeklyRepeatRRData()
    {
        return array(
            "add_show_id" => -1,
            "add_show_instance_id" => -1,
            "add_show_name" => "test show",
            "add_show_url" => null,
            "add_show_genre" => null,
            "add_show_description" => null,
            "add_show_start_date" => "2016-01-01",
            "add_show_start_time" => "00:00",
            "add_show_end_date_no_repeat" => "2016-01-01",
            "add_show_end_time" => "01:00",
            "add_show_duration" => "01h 00m",
            "add_show_timezone" => "UTC",
            "add_show_repeats" => 1,
            "add_show_linked" => 0,
            "add_show_repeat_type" => 0,
            "add_show_monthly_repeat_type" => 2,
            "add_show_end_date" => "2016-01-01",
            "add_show_no_end" => 1,
            "cb_airtime_auth" => 0,
            "cb_custom_auth" => 0,
            "custom_username" => null,
            "custom_password" => null,
            "add_show_record" => 1,
            "add_show_rebroadcast" => 1,
            "add_show_rebroadcast_date_absolute_1" => null,
            "add_show_rebroadcast_time_absolute_1" => null,
            "add_show_rebroadcast_date_absolute_2" => null,
            "add_show_rebroadcast_time_absolute_2" => null,
            "add_show_rebroadcast_date_absolute_3" => null,
            "add_show_rebroadcast_time_absolute_3" => null,
            "add_show_rebroadcast_date_absolute_4" => null,
            "add_show_rebroadcast_time_absolute_4" => null,
            "add_show_rebroadcast_date_absolute_5" => null,
            "add_show_rebroadcast_time_absolute_5" => null,
            "add_show_rebroadcast_date_absolute_6" => null,
            "add_show_rebroadcast_time_absolute_6" => null,
            "add_show_rebroadcast_date_absolute_7" => null,
            "add_show_rebroadcast_time_absolute_7" => null,
            "add_show_rebroadcast_date_absolute_8" => null,
            "add_show_rebroadcast_time_absolute_8" => null,
            "add_show_rebroadcast_date_absolute_9" => null,
            "add_show_rebroadcast_time_absolute_9" => null,
            "add_show_rebroadcast_date_absolute_10" => null,
            "add_show_rebroadcast_time_absolute_10" => null,
            "add_show_rebroadcast_date_1" => "1 days",
            "add_show_rebroadcast_time_1" => "00:00",
            "add_show_rebroadcast_date_2" => "2 days",
            "add_show_rebroadcast_time_2" => "12:00",
            "add_show_rebroadcast_date_3" => null,
            "add_show_rebroadcast_time_3" => null,
            "add_show_rebroadcast_date_4" => null,
            "add_show_rebroadcast_time_4" => null,
            "add_show_rebroadcast_date_5" => null,
            "add_show_rebroadcast_time_5" => null,
            "add_show_rebroadcast_date_6" => null,
            "add_show_rebroadcast_time_6" => null,
            "add_show_rebroadcast_date_7" => null,
            "add_show_rebroadcast_time_7" => null,
            "add_show_rebroadcast_date_8" => null,
            "add_show_rebroadcast_time_8" => null,
            "add_show_rebroadcast_date_9" => null,
            "add_show_rebroadcast_time_9" => null,
            "add_show_rebroadcast_date_10" => null,
            "add_show_rebroadcast_time_10" => null,
            "add_show_hosts_autocomplete" => null,
            "add_show_background_color" => "364492",
            "add_show_color" => "ffffff",
            "add_show_hosts" => null,
            "add_show_day_check" => array(5)
        );
    }
}
