CC-2833: Use ClassLoaders for PHP Files

-shows.php
This commit is contained in:
martin 2011-09-23 10:54:20 -04:00
parent 5d7b51dafc
commit 9bb901945e
12 changed files with 68 additions and 68 deletions

View file

@ -72,14 +72,14 @@ class Application_Model_Nowplaying
$data = array();
$showIds = ShowInstance::GetShowsInstancesIdsInRange($timeNow, $startCutoff, $endCutoff);
$showIds = Application_Model_ShowInstance::GetShowsInstancesIdsInRange($timeNow, $startCutoff, $endCutoff);
foreach ($showIds as $showId){
$instanceId = $showId['id'];
$si = new ShowInstance($instanceId);
$si = new Application_Model_ShowInstance($instanceId);
$showId = $si->getShowId();
$show = new Show($showId);
$show = new Application_Model_Show($showId);
$showStartDateTime = DateHelper::ConvertToLocalDateTime($si->getShowStart());
$showEndDateTime = DateHelper::ConvertToLocalDateTime($si->getShowEnd());