Method |
Description |
|
__construct ( Piwik\Application\Kernel\GlobalSettingsProvider $settings ) |
|
|
__get ( string $name ) : string | array |
Returns a configuration value or section by name. |
|
__set ( string $name, mixed $value ) |
Sets a configuration value or section. |
|
clear ( ) |
Clear in-memory configuration so it can be reloaded |
|
deleteLocalConfig ( ) |
|
|
dumpConfig ( ) : string | null |
Dump config |
|
existsLocalConfig ( ) |
|
|
forceSave ( ) |
Writes the current configuration to the **config.ini.php** file. Only writes options whose
values are different from the default. |
|
forceUsageOfLocalHostnameConfig ( string $hostname ) : string |
If set, Piwik will use the hostname config no matter if it exists or not. Useful for instance if you want to
create a new hostname config: |
|
getByDomainConfigPath ( ) |
|
|
getClientSideOptions ( ) |
|
|
getCommonConfigPath ( ) : string |
Returns absolute path to the common configuration file. |
|
getCommonPath ( ) : string |
Returns the path to the common config file used by this instance. |
|
getConfigHostnameIfSet ( ) |
|
|
getConfigNotWritableException ( ) |
|
|
getFromCommonConfig ( $name ) |
|
|
getFromGlobalConfig ( $name ) |
|
|
getFromLocalConfig ( $name ) |
|
|
getGlobalConfigPath ( ) : string |
Returns absolute path to the global configuration file |
|
getGlobalPath ( ) : string |
Returns the path to the global config file used by this instance. |
|
getHostname ( ) : string |
Returns the hostname of the current request (without port number) |
|
getInstance ( ) : Config |
|
|
getLocalConfigPath ( ) : string |
Returns absolute path to the local configuration file |
|
getLocalPath ( ) : string |
Returns the path to the local config file used by this instance. |
|
init ( ) |
Read configuration from files into memory |
|
isFileWritable ( ) : boolean |
Returns true if the local configuration file is writable. |
|