/** * Gets a JSON-formatted list of the Feature Recognition Methods which have * associated event by event Unique ID or Archive ID * * @return void */ public function getEvent() { include_once HV_ROOT_DIR . '/../src/Event/HEKAdapter.php'; $hek = new Event_HEKAdapter(); header('Content-type: application/json'); echo $hek->getEvent(intval($this->_params['id']), $this->_params['kb_archivid']); }