Mozilla Skin
BLOG     |     MY EYEOS     |     PROFESSIONAL SERVICES     |     OPEN SOURCE PLATFORM

Lib eyeSessions getVar

From eyeOS Wiki

Contents

Syntax

eyeSessions('getVar', array($varName))

or

reqLib('eyeSessions', 'getVar', array($varName))

Description

Returns the value of a variable declared on the user's session.

Arguments

varName: string containing name of the variable.

Return values

Returns the value of the variable named 'varName'.

Example

eyeSessions('getVar', array('usertheme'));