2016-10-16 21:50:09 +03:00
|
|
|
<?php
|
|
|
|
function getSchedConfig($year = 2015) {
|
|
|
|
$globalConfig = [
|
|
|
|
'lang' => 'bg',
|
|
|
|
'cfp_url' => 'https://cfp.openfest.org',
|
|
|
|
'cut_len' => 70,
|
|
|
|
];
|
2016-10-19 21:49:50 +03:00
|
|
|
|
2016-10-16 21:50:09 +03:00
|
|
|
$config = [
|
2016-10-19 21:49:50 +03:00
|
|
|
2014 => [
|
|
|
|
'conferenceId' => 1,
|
|
|
|
'eventTypes' => [
|
|
|
|
'lecture' => 1,
|
|
|
|
'workshop' => 2,
|
|
|
|
],
|
|
|
|
],
|
2016-10-16 21:50:09 +03:00
|
|
|
2015 => [
|
2016-10-19 21:49:50 +03:00
|
|
|
'conferenceId' => 2,
|
|
|
|
'eventTypes' => [
|
|
|
|
'lecture' => 3,
|
|
|
|
'workshop' => 4,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
2016 => [
|
|
|
|
'conferenceId' => 3,
|
|
|
|
'eventTypes' => [
|
|
|
|
'lecture' => 5,
|
|
|
|
'workshop' => 6,
|
|
|
|
],
|
2016-10-16 21:50:09 +03:00
|
|
|
],
|
|
|
|
];
|
|
|
|
|
|
|
|
return array_merge($globalConfig, $config[$year]);
|
|
|
|
}
|