get permanent(a, b)
Group |
Returns the permanent value with name a under context b that has been saved using the save permanent function.
If nothing was found, an empty string with set Empty Flag will be returned.
Description of Parameters
Parameter |
Description |
a |
Name of the permanent value to be returned. |
b |
(optional) true (profile context) or false (system-wide context). Default: false. |
GUI
See section Constants (Administration) for system-wide permanent values.
See section Profile Values for profile-wide permanent values.
Examples
Defined are the two permanent values, both with the name myKey and saved in the context of Lobster_data with value DataValue and in the context of the profile with value ProfileValue.
Parameter a |
Parameter b |
Result |
myOtherKey |
|
(Empty string with set Empty Flag) |
myKey |
true |
ProfileValue |
myKey |
false |
DataValue |