everything is implemented backend wise for schedule dialog, just need to add html/css changes

This commit is contained in:
Naomi 2011-01-27 18:38:02 -05:00
parent be4d3f5466
commit f18f500e1e
7 changed files with 124 additions and 134 deletions

View file

@ -132,20 +132,14 @@ class LibraryController extends Zend_Controller_Action
$this->_helper->viewRenderer->setResponseSegment('library');
$format = $this->_getParam('format');
$echo = $this->_getParam('sEcho');
$offset = $this->_getParam('iDisplayStart');
$limit = $this->_getParam('iDisplayLength');
$post = $this->getRequest()->getPost();
if($format == "json") {
$datatables = array("sEcho" => $echo);
$files = StoredFile::searchFiles($offset, $limit, $post);
$datatables = array_merge($datatables, $files);
$datatables = StoredFile::searchFilesForPlaylistBuilder($post);
die(json_encode($datatables));
}
}