PHP 클래스 Piwik\Tracker\Response

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
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 )

보호된 메소드들

메소드 설명
getMessageFromException ( Exception $e ) : string Gets the error message to output when a tracking request fails.
hasAlreadyPrintedOutput ( )
logExceptionToErrorLog ( $e )

비공개 메소드들

메소드 설명
getOutputBuffer ( )
isHttpGetRequest ( )
outputAccessControlHeaders ( )
outputApiResponse ( Piwik\Tracker $tracker )
outputTransparentGif ( )

메소드 상세

getMessageFromException() 보호된 메소드

Gets the error message to output when a tracking request fails.
protected getMessageFromException ( Exception $e ) : string
$e Exception
리턴 string

getOutput() 공개 메소드

public getOutput ( )

hasAlreadyPrintedOutput() 보호된 메소드

protected hasAlreadyPrintedOutput ( )

init() 공개 메소드

public init ( Piwik\Tracker $tracker )
$tracker Piwik\Tracker

logExceptionToErrorLog() 보호된 메소드

protected logExceptionToErrorLog ( $e )

outputException() 공개 메소드

Echos an error message & other information, then exits.
public outputException ( Piwik\Tracker $tracker, Exception $e, integer $statusCode )
$tracker Piwik\Tracker
$e Exception
$statusCode integer eg 500

outputResponse() 공개 메소드

public outputResponse ( Piwik\Tracker $tracker )
$tracker Piwik\Tracker