Commit so that I may access project from a different computer. Many things do not work/ are incomplete!!!

-Added unfinalized API for getting schedule and currently playing item.
This commit is contained in:
mkonecny 2010-12-21 18:28:17 -05:00
parent afd9f80f59
commit 10218aeeb5
6 changed files with 190 additions and 10 deletions

View file

@ -18,7 +18,8 @@ class ScheduleController extends Zend_Controller_Action
->addActionContext('resize-show', 'json')
->addActionContext('delete-show', 'json')
->addActionContext('schedule-show', 'json')
->addActionContext('clear-show', 'json')
->addActionContext('clear-show', 'json')
->addActionContext('get-current-playlist', 'json')
->initContext();
}
@ -173,6 +174,15 @@ class ScheduleController extends Zend_Controller_Action
}
}
public function getSchedulerTimeAction()
{
$this->view->headScript()->appendFile('/js/progressbar/jquery.progressbar.min.js','text/javascript');
}
public function getCurrentPlaylistAction()
{
$this->view->entries = Schedule::GetPlayOrderRange();
}
}