public function undoBookmarkedAction() { $archive_id = $id = $this->getRequest()->getPost('id'); $adapter = new ArchiveTable($this->serviceLocator()); $result = $adapter->undo_bookmarked(9, $archive_id); $news_get_data = $adapter->getNews($archive_id); foreach ($news_get_data as $news_data) { $news_title = $news_data['title']; } $this->save_to_audit_trail($news_title, 'bookmarked', 'remove bookmarked', 'undo bookmarked', 42); return $result; }