public function timelineAction() { $this->_helper->layout->disableLayout(); if ($this->getParam('id', false)) { $finds = new Finds(); $this->view->data = $finds->getAllData($this->getParam('id')); } else { $this->view->data = 'Error'; } }