db = \Zend_Registry::get('db'); $this->config = \Zend_Registry::get('config'); $this->table = new Table(); } public function deleteAuthor(\Zend_EventManager_Event $e) { $id = $e->getParam('id'); $ref = new Reference(); return $ref->deleteReferenceAuthor($id); } public function deleteTag(\Zend_EventManager_Event $e) { $id = $e->getParam('id'); $ref = new Reference(); return $ref->deleteReferenceTag($id); } }