Manage application parameters Set and get application parameters
- See Also
- ApplicationParameterManager
- Deprecated:
- use ApplicationParameterManager instead
Definition at line 19 of file Class.ParameterManager.php.
static getApplicationParameter |
( |
|
$appName, |
|
|
|
$name |
|
) |
| |
|
static |
get a specific value for an application get user value for current user if it is a user parameter
- Deprecated:
- use ApplicationParameterManager instead
- Parameters
-
string | $appName | application name |
string | $name | paramter |
- Returns
- string|null value of parameter (null if parameter not exists)
Definition at line 60 of file Class.ParameterManager.php.
static getParameter |
( |
|
$name | ) |
|
|
static |
static setApplicationParameter |
( |
|
$appName, |
|
|
|
$name, |
|
|
|
$value |
|
) |
| |
|
static |
static setGlobalParameter |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
static |
static setGlobalUserParameter |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$userId = null |
|
) |
| |
|
static |
static setUserApplicationParameter |
( |
|
$appName, |
|
|
|
$name, |
|
|
|
$value, |
|
|
|
$userId = null |
|
) |
| |
|
static |
Update a user parameter value
- Deprecated:
- use ApplicationParameterManager instead
- Parameters
-
string | $appName | application name |
string | $name | parameter name (must be declared as user) |
string | $value | new value to set |
int | $userId | user account identificator (if null use current user) |
- Exceptions
-
Definition at line 138 of file Class.ParameterManager.php.
The documentation for this class was generated from the following file: