Method | Description | |
---|---|---|
getOutput ( ) | ||
init ( Piwik\Tracker $tracker ) | ||
outputException ( Piwik\Tracker $tracker, Exception $e, integer $statusCode ) | Echos an error message & other information, then exits. | |
outputResponse ( Piwik\Tracker $tracker ) |
Method | Description | |
---|---|---|
getMessageFromException ( Exception $e ) : string | Gets the error message to output when a tracking request fails. | |
hasAlreadyPrintedOutput ( ) | ||
logExceptionToErrorLog ( $e ) |
Method | Description | |
---|---|---|
getOutputBuffer ( ) | ||
isHttpGetRequest ( ) | ||
outputAccessControlHeaders ( ) | ||
outputApiResponse ( Piwik\Tracker $tracker ) | ||
outputTransparentGif ( ) |
protected getMessageFromException ( Exception $e ) : string | ||
$e | Exception | |
return | string |
public outputException ( Piwik\Tracker $tracker, Exception $e, integer $statusCode ) | ||
$tracker | Piwik\Tracker | |
$e | Exception | |
$statusCode | integer | eg 500 |
public outputResponse ( Piwik\Tracker $tracker ) | ||
$tracker | Piwik\Tracker |