db = \Zend_Registry::get('db'); }else{ $this->db = $db; } $this->config = \Zend_Registry::get('config'); $this->table = new Table(); } public function applicationCheckParam(\Zend_EventManager_Event $e) { $data = $e->getParam('data'); return true; } }