PHP Class Piwik\Plugins\UserCountry\Columns\Country

Inheritance: extends Piwik\Plugins\UserCountry\Columns\Base
Mostrar archivo Open project: piwik/piwik

Protected Properties

Property Type Description
$columnName
$columnType

Public Methods

Method Description
getName ( )
onAnyGoalConversion ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : mixed
onExistingVisit ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : integer
onNewVisit ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : mixed

Protected Methods

Method Description
configureSegments ( )

Private Methods

Method Description
getCountryUsingProviderExtensionIfValid ( $ipAddress )
getHost ( string $ipStr ) : string Returns the hostname given the IP address string

Method Details

configureSegments() protected method

protected configureSegments ( )

getName() public method

public getName ( )

onAnyGoalConversion() public method

public onAnyGoalConversion ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : mixed
$request Piwik\Tracker\Request
$visitor Piwik\Tracker\Visitor
$action Piwik\Tracker\Action | null
return mixed

onExistingVisit() public method

public onExistingVisit ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : integer
$request Piwik\Tracker\Request
$visitor Piwik\Tracker\Visitor
$action Piwik\Tracker\Action | null
return integer

onNewVisit() public method

public onNewVisit ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action ) : mixed
$request Piwik\Tracker\Request
$visitor Piwik\Tracker\Visitor
$action Piwik\Tracker\Action | null
return mixed

Property Details

$columnName protected_oe property

protected $columnName

$columnType protected_oe property

protected $columnType