public function getSingleVisitSummary() { $view = new View('@Live/getSingleVisitSummary.twig'); $visits = Request::processRequest('Live.getLastVisitsDetails', array('segment' => 'visitId==' . Common::getRequestVar('visitId'), 'period' => false, 'date' => false)); $view->visitData = $visits->getFirstRow()->getColumns(); $view->visitReferralSummary = API::getReferrerSummaryForVisit($visits->getFirstRow()); $view->showLocation = true; $this->setWidgetizedVisitorProfileUrl($view); $view->exportLink = $this->getVisitorProfileExportLink(); return $view->render(); }