public function editFileItemAction() { $file_id = $this->_getParam('id'); $historyService = new Application_Service_HistoryService(); $form = $historyService->makeHistoryFileForm($file_id); $this->view->form = $form; $this->view->dialog = $this->view->render('playouthistory/dialog.phtml'); unset($this->view->form); }