Xataface 2.0
Xataface Application Framework
Public Member Functions | Static Public Member Functions | Data Fields
Dataface_PreferencesTool Class Reference

Public Member Functions

 _createPreferencesTable ()
 loadPreferences ($table=null)
getPreferences ($uri)
 savePreference ($uri, $key, $value, $username=null)
 save ()
 __wakeup ()

Static Public Member Functions

static & getInstance ()

Data Fields

 $refreshLifetime = 3600
 $prefs = array()
 $refreshTimes = array()
 $cachedPrefs = array()
 $_transientCache = array()

Detailed Description

Definition at line 2 of file PreferencesTool.php.


Member Function Documentation

__wakeup ( )

Definition at line 198 of file PreferencesTool.php.

_createPreferencesTable ( )

Definition at line 26 of file PreferencesTool.php.

static& getInstance ( ) [static]

Definition at line 11 of file PreferencesTool.php.

& getPreferences ( uri)

Definition at line 69 of file PreferencesTool.php.

loadPreferences ( table = null)

Definition at line 31 of file PreferencesTool.php.

save ( )

Definition at line 193 of file PreferencesTool.php.

savePreference ( uri,
key,
value,
username = null 
)

Definition at line 101 of file PreferencesTool.php.


Field Documentation

$_transientCache = array()

Definition at line 9 of file PreferencesTool.php.

$cachedPrefs = array()

Definition at line 8 of file PreferencesTool.php.

$prefs = array()

Definition at line 5 of file PreferencesTool.php.

$refreshLifetime = 3600

Definition at line 4 of file PreferencesTool.php.

$refreshTimes = array()

Definition at line 6 of file PreferencesTool.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations