PHP 클래스 Pap_Api_Tracker

상속: extends Gpf_Object
파일 보기 프로젝트 열기: fubralimited/php-oara 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Gpf_Api_Session $session ) This class requires correctly initialized merchant session
createAction ( string $actionCode = '' ) : Pap_Tracking_ActionObject Creates and returns new action
createSale ( ) : Pap_Tracking_ActionObject Creates and returns new sale
getAffiliate ( ) : Gpf_Rpc_Data
getCampaign ( ) : Gpf_Rpc_Data
getChannel ( ) : Gpf_Rpc_Data
getVisitorId ( )
save3rdPartyCookiesOnly ( $cookieDomainValidity = null )
saveCookies ( )
setAccountId ( $accountId )
setVisitorId ( $visitorId )
track ( )

보호된 메소드들

메소드 설명
getGetParams ( ) : Gpf_Net_Http_Request
getIp ( )
getOldCookies ( )
getReferrerUrl ( )
getSaleParams ( )
getUrl ( )
getUserAgent ( )
save3rdPartyCookie ( $name, $value, $expire, $overwrite, $cookieDomainValidity = null )
sendRequest ( Gpf_Net_Http_Request $request )
setQueryParams ( Gpf_Net_Http_Request $request )

비공개 메소드들

메소드 설명
getData ( &$data, $method, $primaryKeyName )
getServerName ( )
includeJavascript ( )
parseResponse ( ) Parses track.php response. Response can be empty or setVisitor('4c5e2151b8856e55dbfeb247c22300Hg');
saveCookiesByJavascript ( )

메소드 상세

__construct() 공개 메소드

This class requires correctly initialized merchant session
public __construct ( Gpf_Api_Session $session )
$session Gpf_Api_Session

createAction() 공개 메소드

Creates and returns new action
public createAction ( string $actionCode = '' ) : Pap_Tracking_ActionObject
$actionCode string
리턴 Pap_Tracking_ActionObject

createSale() 공개 메소드

Creates and returns new sale
public createSale ( ) : Pap_Tracking_ActionObject
리턴 Pap_Tracking_ActionObject

getAffiliate() 공개 메소드

public getAffiliate ( ) : Gpf_Rpc_Data
리턴 Gpf_Rpc_Data

getCampaign() 공개 메소드

public getCampaign ( ) : Gpf_Rpc_Data
리턴 Gpf_Rpc_Data

getChannel() 공개 메소드

public getChannel ( ) : Gpf_Rpc_Data
리턴 Gpf_Rpc_Data

getGetParams() 보호된 메소드

protected getGetParams ( ) : Gpf_Net_Http_Request
리턴 Gpf_Net_Http_Request

getIp() 보호된 메소드

protected getIp ( )

getOldCookies() 보호된 메소드

protected getOldCookies ( )

getReferrerUrl() 보호된 메소드

protected getReferrerUrl ( )

getSaleParams() 보호된 메소드

protected getSaleParams ( )

getUrl() 보호된 메소드

protected getUrl ( )

getUserAgent() 보호된 메소드

protected getUserAgent ( )

getVisitorId() 공개 메소드

public getVisitorId ( )

save3rdPartyCookie() 보호된 메소드

protected save3rdPartyCookie ( $name, $value, $expire, $overwrite, $cookieDomainValidity = null )

save3rdPartyCookiesOnly() 공개 메소드

public save3rdPartyCookiesOnly ( $cookieDomainValidity = null )

saveCookies() 공개 메소드

public saveCookies ( )

sendRequest() 보호된 메소드

protected sendRequest ( Gpf_Net_Http_Request $request )
$request Gpf_Net_Http_Request

setAccountId() 공개 메소드

public setAccountId ( $accountId )

setQueryParams() 보호된 메소드

protected setQueryParams ( Gpf_Net_Http_Request $request )
$request Gpf_Net_Http_Request

setVisitorId() 공개 메소드

public setVisitorId ( $visitorId )

track() 공개 메소드

public track ( )