Piwik\Tracker\Action::writeDebugInfo PHP Method

writeDebugInfo() public method

public writeDebugInfo ( )
    public function writeDebugInfo()
    {
        $type = self::getTypeAsString($this->getActionType());
        $name = $this->getActionName();
        $url = $this->getActionUrl();
        Common::printDebug("Action is a {$type},\n                Action name =  " . $name . ",\n                Action URL = " . $url);
        return true;
    }

Usage Example

Example #1
0
 public function writeDebugInfo()
 {
     parent::writeDebugInfo();
     if ($this->detectActionIsOutlinkOnAliasHost($this, $this->request->getIdSite())) {
         Common::printDebug("INFO: The outlink URL host is one of the known host for this website. ");
     }
 }
All Usage Examples Of Piwik\Tracker\Action::writeDebugInfo