initfest/schedule/config.php

102 lines
1.8 KiB
PHP
Raw Permalink Normal View History

<?php
2017-10-20 00:56:43 +03:00
function getSchedConfig($year = 2017) {
$globalConfig = [
'lang' => 'bg',
'cfp_url' => 'https://cfp.openfest.org',
'cut_len' => 70,
2016-10-22 19:09:03 +03:00
'hidden_speakers' => [4],
'hidden_language_tracks' => [],
];
2023-10-16 19:38:46 +03:00
$config = [
2014 => [
'conferenceId' => 1,
'eventTypes' => [
'lecture' => 1,
'workshop' => 2,
],
],
2015 => [
'conferenceId' => 2,
'eventTypes' => [
'lecture' => 3,
'workshop' => 4,
],
2016-10-22 19:09:03 +03:00
'hidden_language_tracks' => [16],
],
2016 => [
'conferenceId' => 3,
'eventTypes' => [
'lecture' => 5,
'workshop' => 6,
],
2016-10-22 19:09:03 +03:00
'hidden_language_tracks' => [25],
],
2017-08-07 11:10:59 +03:00
2017 => [
'conferenceId' => 4,
'eventTypes' => [
'lecture' => 7,
'workshop' => 8,
],
2017-10-20 00:56:43 +03:00
'hidden_language_tracks' => [34],
2017-08-07 11:10:59 +03:00
],
2018-10-16 13:07:10 +03:00
2018 => [
'conferenceId' => 5,
'eventTypes' => [
'lecture' => 10,
'workshop' => 9,
],
'hidden_language_tracks' => [42],
],
2019-06-09 15:12:00 +03:00
2019 => [
'conferenceId' => 6,
'eventTypes' => [
'lecture' => 12,
'workshop' => 11,
],
'hidden_language_tracks' => [50],
],
2020-10-26 22:33:50 +02:00
2020 => [
'conferenceId' => 7,
'eventTypes' => [
'lecture' => 14,
],
'hidden_language_tracks' => [59],
],
2021-07-08 21:22:00 +03:00
2021 => [
'conferenceId' => 8,
'eventTypes' => [
'lecture' => 16,
'workshop' => 15,
],
2021-07-27 22:12:54 +03:00
'hidden_language_tracks' => [66],
2021-07-08 21:22:00 +03:00
],
2022-09-28 13:53:41 +03:00
2022 => [
'conferenceId' => 9,
'eventTypes' => [
'lecture' => 18,
'workshop' => 17,
],
'hidden_language_tracks' => [73],
],
2023-10-16 19:38:46 +03:00
2023 => [
'conferenceId' => 10,
'eventTypes' => [
'lecture' => 20,
'workshop' => 19,
],
'hidden_language_tracks' => [78],
],
2024-10-10 19:55:20 +03:00
2024 => [
'conferenceId' => 11,
'eventTypes' => [
'lecture' => 24,
'workshop' => 23,
],
'hidden_language_tracks' => [83],
],
];
2023-10-16 19:38:46 +03:00
return array_merge($globalConfig, $config[$year]);
}