public function showForSpAction() { $entityId = $this->getRequest()->getParam('eid', false); if (!$entityId) { throw new Exception('No entity ID provided!'); } $service = new ServiceRegistry_Service_JanusEntity(); $this->view->ResultSet = $service->getAllowedConnections($entityId); $this->view->entity = $service->fetchByEntityId($entityId); }