get permanent()
This function returns the permanent value with name a under context b that has been saved using function "save permanent()".
If nothing was found, an empty string with set Empty Flag will be returned.
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 system-wide context 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 |