sintonia/legacy/application/views/helpers/SourceSwitchStatus.php

14 lines
456 B
PHP
Raw Permalink Normal View History

<?php
2021-10-11 16:10:47 +02:00
class Airtime_View_Helper_SourceSwitchStatus extends Zend_View_Helper_Abstract
{
public function SourceSwitchStatus()
{
2022-07-07 20:01:15 +02:00
return [
'live_dj' => Application_Model_Preference::GetSourceSwitchStatus('live_dj'),
2021-10-11 16:10:47 +02:00
'master_dj' => Application_Model_Preference::GetSourceSwitchStatus('master_dj'),
2022-07-07 20:01:15 +02:00
'scheduled_play' => Application_Model_Preference::GetSourceSwitchStatus('scheduled_play'),
];
}
2021-10-11 16:10:47 +02:00
}