Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameSummary
getPrefsGets a cookie set with a specific name's value.
asNumbersConverts string values to numbers for all or selected keys.
setPrefsSets the cookie preferences as a string into the cache.

Function Descriptions

getPrefs

Gets a cookie set with a specific name's value.

Example UsageArgumentsReturn Value
ps.getPrefs(name);name - string of the name of the cookie set that you want (an example being 'topo_prefs')

an object representing the cookie set that you requested, the format being:

name: value of cookie

null if no cookie for name exists

...