creating an entry.
This commit is contained in:
parent
ec44b81f6a
commit
634eb40a0c
3 changed files with 32 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue