PHP Class Piwik\Plugins\UserLanguage\Columns\Language

Inheritance: extends Piwik\Plugin\Dimension\VisitDimension
ファイルを表示 Open project: piwik/piwik

Protected Properties

Property Type Description
$columnName
$columnType

Public Methods

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

Protected Methods

Method Description
configureSegments ( )
getSingleLanguageFromAcceptedLanguages ( $acceptLanguagesString ) : string For better privacy we store only the main language code, instead of the whole browser language string.

Method Details

configureSegments() protected method

protected configureSegments ( )

getName() public method

public getName ( )

getSingleLanguageFromAcceptedLanguages() protected method

For better privacy we store only the main language code, instead of the whole browser language string.
protected getSingleLanguageFromAcceptedLanguages ( $acceptLanguagesString ) : string
$acceptLanguagesString
return string

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