Home Manual Reference Source Repository
public class | source

Session

Methods for persisting the state into the current session.

Method Summary

Public Methods
public

Retrieves the active currency from session.

public

Records the active currency in the session.

Public Methods

public getCurrency(): undefined | String source

Retrieves the active currency from session.

Return:

undefined | String

public saveCurrency(value: null | String) source

Records the active currency in the session.

Params:

NameTypeAttributeDescription
value null | String

The currency to record, or null to clear.