Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ZurmoConfigurationUtil Class Reference

Static Public Member Functions

static getForCurrentUserByModuleName ($moduleName, $key, $cache=true)
static getByModuleName ($moduleName, $key, $cache=true)
static getByUserAndModuleName ($user, $moduleName, $key, $cache=true)
static setForCurrentUserByModuleName ($moduleName, $key, $value, $cache=true)
static setByModuleName ($moduleName, $key, $value, $cache=true)
static setByUserAndModuleName ($user, $moduleName, $key, $value, $cache=true)

Static Protected Member Functions

static getCacheKey ($moduleName, $configKey, $userId=null)
static getCachedValue ($moduleName, $configKey, $userId=null, $cache=true)
static cacheValue ($moduleName, $configKey, $value, $userId=null, $cache=true)

Detailed Description

Helper Utility to interface with the global and per user configuration settings on a module.

Definition at line 40 of file ZurmoConfigurationUtil.php.


Member Function Documentation

static getForCurrentUserByModuleName ( moduleName,
key,
cache = true 
) [static]

For the current user, retrieve a configuration value by module name and key.

Returns:
configuration value of specified key

Definition at line 46 of file ZurmoConfigurationUtil.php.

static getByModuleName ( moduleName,
key,
cache = true 
) [static]

Retrieve a global configuration value by module name and key.

Returns:
configuration value of specified key

Definition at line 62 of file ZurmoConfigurationUtil.php.

static getByUserAndModuleName ( user,
moduleName,
key,
cache = true 
) [static]

For a specific user, retrieve a configuration value by module name and key.

Returns:
configuration value of specified key

Definition at line 87 of file ZurmoConfigurationUtil.php.

static setForCurrentUserByModuleName ( moduleName,
key,
value,
cache = true 
) [static]

For the current user, set a configuration value by module name and key.

Definition at line 112 of file ZurmoConfigurationUtil.php.

static setByModuleName ( moduleName,
key,
value,
cache = true 
) [static]

Set a global configuration value by module name and key

Definition at line 127 of file ZurmoConfigurationUtil.php.

static setByUserAndModuleName ( user,
moduleName,
key,
value,
cache = true 
) [static]

For a specified user, set a configuration value by module name and key

Definition at line 144 of file ZurmoConfigurationUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 18 07:11:06 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8