PHP Class Pap_Tracking_Request

Inheritance: extends Gpf_Object
Exibir arquivo Open project: fubralimited/php-oara Class Usage Examples

Protected Properties

Property Type Description
$logger Gpf_Log_Logger
$request

Public Methods

Method Description
__construct ( )
decodeRefererUrl ( encoded $url ) This function does decoded encoded url
encodeRefererUrl ( $url ) : encoded This function does escape http:// and https:// in url as mod_rewrite disables requests with ://
getAffiliateClickParamName ( )
getAffiliateId ( )
getBannerClickParamName ( )
getBannerId ( )
getCampaignId ( )
getCampaignParamName ( )
getChannelId ( )
getChannelParamName ( )
getClickData1 ( ) : string returns custom click link parameter data1 It first checks for forced parameter Data1 given as parameter to JS tracking code
getClickData1ParamName ( )
getClickData2 ( ) : string returns custom click link parameter data2 It first checks for forcet parameter Data2 given as parameter to JS tracking code
getClickData2ParamName ( )
getCountryCode ( )
getCurrency ( )
getDebug ( )
getExtraDataParamName ( $i )
getForcedAffiliateId ( )
getForcedAffiliateParamName ( )
getForcedBannerId ( )
getForcedBannerParamName ( )
getForcedCampaignId ( )
getForcedCampaignParamName ( )
getForcedChannelId ( )
getIP ( )
getLinkStyle ( )
getPostParam ( $name )
getRawExtraData ( $i ) : string
getRecognizedClickParameters ( )
getRefererUrl ( )
getRequestParameter ( $paramName )
getRotatorBannerId ( )
getRotatorBannerParamName ( )
getSpecialDestinationUrlParamName ( )
getUser ( ) : Pap_Common_User
getUserAgentObject ( ) : null | Pap_Db_UserAgent
parseUrl ( $url )
setLogger ( Gpf_Log_Logger $logger ) set logger
setRawExtraData ( $i, $value )
setRequestParameter ( $paramName, $value )
toString ( )

Protected Methods

Method Description
debug ( $msg )

Private Methods

Method Description
getForcedIp ( )

Method Details

__construct() public method

public __construct ( )

debug() protected method

protected debug ( $msg )

decodeRefererUrl() public static method

This function does decoded encoded url
public static decodeRefererUrl ( encoded $url )
$url encoded

encodeRefererUrl() public static method

This function does escape http:// and https:// in url as mod_rewrite disables requests with ://
public static encodeRefererUrl ( $url ) : encoded
$url
return encoded url

getAffiliateClickParamName() public static method

public static getAffiliateClickParamName ( )

getAffiliateId() public method

public getAffiliateId ( )

getBannerClickParamName() public static method

public static getBannerClickParamName ( )

getBannerId() public method

public getBannerId ( )

getCampaignId() public method

public getCampaignId ( )

getCampaignParamName() public static method

public static getCampaignParamName ( )

getChannelId() public method

public getChannelId ( )

getChannelParamName() public static method

public static getChannelParamName ( )

getClickData1() public method

returns custom click link parameter data1 It first checks for forced parameter Data1 given as parameter to JS tracking code
public getClickData1 ( ) : string
return string

getClickData1ParamName() public static method

public static getClickData1ParamName ( )

getClickData2() public method

returns custom click link parameter data2 It first checks for forcet parameter Data2 given as parameter to JS tracking code
public getClickData2 ( ) : string
return string

getClickData2ParamName() public static method

public static getClickData2ParamName ( )

getCountryCode() public method

public getCountryCode ( )

getCurrency() public method

public getCurrency ( )

getDebug() public method

public getDebug ( )

getExtraDataParamName() public method

public getExtraDataParamName ( $i )

getForcedAffiliateId() public method

getForcedAffiliateParamName() public static method

public static getForcedAffiliateParamName ( )

getForcedBannerId() public method

public getForcedBannerId ( )

getForcedBannerParamName() public static method

public static getForcedBannerParamName ( )

getForcedCampaignId() public method

public getForcedCampaignId ( )

getForcedCampaignParamName() public static method

public static getForcedCampaignParamName ( )

getForcedChannelId() public method

public getForcedChannelId ( )

getIP() public method

public getIP ( )

getLinkStyle() public method

public getLinkStyle ( )

getPostParam() public method

Deprecation: used in CallBackTracker plugins only. should be moved to callback tracker
public getPostParam ( $name )

getRawExtraData() public method

public getRawExtraData ( $i ) : string
return string

getRecognizedClickParameters() public method

getRefererUrl() public method

public getRefererUrl ( )

getRequestParameter() public method

public getRequestParameter ( $paramName )

getRotatorBannerId() public method

public getRotatorBannerId ( )

getRotatorBannerParamName() public static method

public static getRotatorBannerParamName ( )

getSpecialDestinationUrlParamName() public static method

getUser() public method

public getUser ( ) : Pap_Common_User
return Pap_Common_User

getUserAgentObject() public method

public getUserAgentObject ( ) : null | Pap_Db_UserAgent
return null | Pap_Db_UserAgent

parseUrl() public method

public parseUrl ( $url )

setLogger() public method

set logger
public setLogger ( Gpf_Log_Logger $logger )
$logger Gpf_Log_Logger

setRawExtraData() public method

public setRawExtraData ( $i, $value )

setRequestParameter() public method

public setRequestParameter ( $paramName, $value )

toString() public method

public toString ( )

Property Details

$logger protected_oe property

protected Gpf_Log_Logger $logger
return Gpf_Log_Logger

$request protected_oe property

protected $request