Piwik\Plugins\UsersManager\
The class defines the following methods:
getDefaultWebsiteId() — Returns default site ID that Matomo (formerly Piwik) should load.getDefaultReport() — Returns default site ID that Matomo should load.getDefaultDate() — Returns default date for Matomo reports.getDefaultPeriod() — Returns default period type for Matomo reports.getDefaultWebsiteId()Returns default site ID that Matomo should load.
Note: This value is a Matomo setting set by each user.
bool|int —getDefaultReport()Returns default site ID that Matomo should load.
Note: This value is a Matomo setting set by each user.
bool|int —getDefaultDate()Returns default date for Matomo reports.
Note: This value is a Matomo setting set by each user.
string —
'today', '2010-01-01', etc.getDefaultPeriod()Returns default period type for Matomo reports.
It accepts the following parameter(s):
$defaultDate (string) —
the default date string from which the default period will be guessedReturns:  string —
'day', 'week', 'month', 'year' or 'range'