Пример #1
0
 protected function handleAction($action)
 {
     $action->setIdSite($this->idsite);
     $action->setRequest($this->request);
     $action->setTimestamp($this->getCurrentTimestamp());
     $action->init();
     if ($this->detectActionIsOutlinkOnAliasHost($action)) {
         printDebug("Info: The outlink URL host is one of the known host for this website. ");
     }
     if (isset($GLOBALS['PIWIK_TRACKER_DEBUG']) && $GLOBALS['PIWIK_TRACKER_DEBUG']) {
         $type = Piwik_Tracker_Action::getActionTypeName($action->getActionType());
         printDebug("Action is a {$type},\n\t\t\t\t\t\tAction name =  " . $action->getActionName() . ",\n\t\t\t\t\t\tAction URL = " . $action->getActionUrl());
     }
 }