creating an entry.

This commit is contained in:
Naomi Aro 2013-07-22 10:45:39 -04:00
parent ec44b81f6a
commit 634eb40a0c
3 changed files with 32 additions and 2 deletions

View file

@ -9,6 +9,7 @@ class PlayouthistoryController extends Zend_Controller_Action
->addActionContext('aggregate-history-feed', 'json')
->addActionContext('item-history-feed', 'json')
->addActionContext('edit-aggregate-item', 'json')
->addActionContext('create-list-item', 'json')
->addActionContext('edit-list-item', 'json')
->addActionContext('update-aggregate-item', 'json')
->initContext();
@ -118,6 +119,16 @@ class PlayouthistoryController extends Zend_Controller_Action
unset($this->view->form);
}
public function createListItemAction()
{
$request = $this->getRequest();
$params = $request->getPost();
Logging::info($params);
$historyService = new Application_Service_HistoryService();
$historyService->createPlayedItem($params);
}
public function editListItemAction()
{
$file_id = $this->_getParam('id');