Method | Description | |
---|---|---|
__construct ( Piwik\Translation\Translator $translator ) | ||
anonymousSettings ( ) | The "Anonymous Settings" admin UI screen view | |
index ( ) | The "Manage Users and Permissions" Admin UI screen | |
orderByName ( $a, $b ) | ||
recordAnonymousUserSettings ( ) | Records settings for the anonymous users (default report, default date) | |
recordUserSettings ( ) | Records settings from the "User Settings" page | |
setIgnoreCookie ( ) | ||
userSettings ( ) | The "User Settings" admin UI screen view |
Method | Description | |
---|---|---|
getDefaultDateForUser ( string $user ) : string | Returns default date for Piwik reports | |
getDefaultDates ( ) : array | Returns the enabled dates that users can select, in their User Settings page "Report date to load by default" | |
initViewAnonymousUserSettings ( |
The Super User can modify Anonymous user settings |
Method | Description | |
---|---|---|
getIgnoreCookieSalt ( ) : string | ||
hasAnonymousUserViewAccess ( $usersAccessByWebsite ) | ||
noAdminAccessToWebsite ( $idSiteSelected, $defaultReportSiteName, $message ) | ||
processPasswordChange ( $userLogin ) |
public __construct ( Piwik\Translation\Translator $translator ) | ||
$translator | Piwik\Translation\Translator |
public anonymousSettings ( ) |
protected getDefaultDateForUser ( string $user ) : string | ||
$user | string | |
return | string | today, yesterday, week, month, year |
protected getDefaultDates ( ) : array | ||
return | array |
protected initViewAnonymousUserSettings ( |
||
$view |
public recordAnonymousUserSettings ( ) |
public recordUserSettings ( ) |