|
static | resetCache () |
|
static | getUserParameterValue ($application, $parameterName, $userId=null) |
|
static | getUserParameterDefaultValue ($application, $parameterName) |
|
static | getCommonParameterValue ($application, $parameterName) |
|
static | setUserParameterValue ($application, $parameterName, $value, $userId=null, $check=true) |
|
static | setUserParameterDefaultValue ($application, $parameterName, $value) |
|
static | setCommonParameterValue ($application, $parameterName, $value) |
|
static | getParameterValue ($application, $parameterName) |
|
static | setParameterValue ($application, $parameterName, $value) |
|
static | getScopedParameterValue ($parameter) |
|
static | getParameter ($application, $parameterName) |
|
static | getParameters ($application) |
|
static | _catchDeprecatedGlobalParameter ($parameterName) |
|
Manage application parameters Set and get application parameters
- See Also
- ApplicationParameterManager
Definition at line 14 of file Class.ApplicationParameterManager.php.
static _catchDeprecatedGlobalParameter |
( |
|
$parameterName | ) |
|
|
static |
Internal function to catch requests for deprecated parameters
- Parameters
-
- Returns
- null|string return null value if the parameter is not deprecated and the caller should follow on querying the value on its own, or a non-null value containing the value the caller should use instead of querying the value on its own.
Definition at line 460 of file Class.ApplicationParameterManager.php.
static getCommonParameterValue |
( |
|
$application, |
|
|
|
$parameterName |
|
) |
| |
|
static |
static getParameter |
( |
|
$application, |
|
|
|
$parameterName |
|
) |
| |
|
static |
Get a parameter object (object that describe the parameter)
- Parameters
-
- Exceptions
-
Dcp\ApplicationParameterManager\Exception | |
- Returns
- object the object parameter
Definition at line 313 of file Class.ApplicationParameterManager.php.
static getParameters |
( |
|
$application | ) |
|
|
static |
Get the parameters objects of an application
- Parameters
-
- Exceptions
-
Dcp\ApplicationParameterManager\Exception | |
- Returns
- object the object parameter
Definition at line 343 of file Class.ApplicationParameterManager.php.
static getParameterValue |
( |
|
$application, |
|
|
|
$parameterName |
|
) |
| |
|
static |
static getScopedParameterValue |
( |
|
$parameter | ) |
|
|
static |
Get a parameter value in the scope (use cache, session cache, volatile param)
- Api:
- Get the value of the parameter in the scope of the current action
- Parameters
-
- Returns
- string value of the parameter
Definition at line 298 of file Class.ApplicationParameterManager.php.
static getUserParameterDefaultValue |
( |
|
$application, |
|
|
|
$parameterName |
|
) |
| |
|
static |
static getUserParameterValue |
( |
|
$application, |
|
|
|
$parameterName, |
|
|
|
$userId = null |
|
) |
| |
|
static |
Return the value of a user parameter
- Parameters
-
- Exceptions
-
Dcp\ApplicationParameterManager\Exception | |
- Returns
- string|null the value of a user parameter (USER="Y") or if not exist
Definition at line 43 of file Class.ApplicationParameterManager.php.
static setCommonParameterValue |
( |
|
$application, |
|
|
|
$parameterName, |
|
|
|
$value |
|
) |
| |
|
static |
static setParameterValue |
( |
|
$application, |
|
|
|
$parameterName, |
|
|
|
$value |
|
) |
| |
|
static |
Set a parameter value
- Api:
- Set a parameter value
- Parameters
-
- Exceptions
-
Dcp\ApplicationParameterManager\Exception | |
- Returns
- void|string error string or void
Definition at line 274 of file Class.ApplicationParameterManager.php.
static setUserParameterDefaultValue |
( |
|
$application, |
|
|
|
$parameterName, |
|
|
|
$value |
|
) |
| |
|
static |
static setUserParameterValue |
( |
|
$application, |
|
|
|
$parameterName, |
|
|
|
$value, |
|
|
|
$userId = null , |
|
|
|
$check = true |
|
) |
| |
|
static |
const CURRENT_APPLICATION = '##CURRENT APPLICATION##' |
const GLOBAL_PARAMETER = '##GLOBAL PARAMETER##' |
The documentation for this class was generated from the following file: