| 3 |
// $Id$ |
// $Id$ |
| 4 |
// ----------------------------------------------------------------------------- |
// ----------------------------------------------------------------------------- |
| 5 |
// $Log$ |
// $Log$ |
| 6 |
|
// Revision 1.4 2002/12/06 04:10:28 joko |
| 7 |
|
// + replaced 'xyzCache' through 'xyzProxy' |
| 8 |
|
// |
| 9 |
|
// Revision 1.3 2002/12/04 07:42:54 jonen |
| 10 |
|
// + changes according to backend schema change |
| 11 |
|
// |
| 12 |
|
// Revision 1.2 2002/12/03 16:47:22 joko |
| 13 |
|
// - function preLogout() |
| 14 |
|
// + function preLogout($autologout = 0) |
| 15 |
|
// + function hadTimeout() |
| 16 |
|
// |
| 17 |
// Revision 1.1 2002/11/12 05:42:31 joko |
// Revision 1.1 2002/11/12 05:42:31 joko |
| 18 |
// + initial checkin |
// + initial checkin |
| 19 |
// |
// |
| 106 |
|
|
| 107 |
$this->_save("cache"); |
$this->_save("cache"); |
| 108 |
|
|
| 109 |
//$this->pObject->flushCache(); // done in "pObject->save" |
//$this->pObject->flushProxy(); // done in "pObject->save" |
| 110 |
|
|
| 111 |
} |
} |
| 112 |
|
|
| 243 |
|
|
| 244 |
} |
} |
| 245 |
|
|
| 246 |
function preLogout() { |
function preLogout($autologout = 0) { |
| 247 |
global $site; |
global $site; |
| 248 |
$this->state[status] = ''; |
$this->state[status] = ''; |
| 249 |
|
$this->state[autologout] = $autologout; |
| 250 |
$this->_saveState(); |
$this->_saveState(); |
| 251 |
} |
} |
| 252 |
|
|
| 253 |
function getAccountSum() { |
function getAccountSum() { |
| 254 |
// store additional user-data to state |
// store additional user-data to state |
| 255 |
if (!$this->state[accountSum]) { |
if (!$this->state[accountSum]) { |
| 256 |
$this->state[accountSum] = $this->get("financeInfo.accountSum"); |
$this->state[accountSum] = $this->get("account.amount"); |
| 257 |
$this->_saveState(); |
$this->_saveState(); |
| 258 |
} |
} |
| 259 |
return $this->state[accountSum]; |
return $this->state[accountSum]; |
| 262 |
function getAccountCurrency() { |
function getAccountCurrency() { |
| 263 |
// store additional user-data to state |
// store additional user-data to state |
| 264 |
if (!$this->state[accountCurrency]) { |
if (!$this->state[accountCurrency]) { |
| 265 |
$this->state[accountCurrency] = $this->get("financeInfo.currency"); |
$this->state[accountCurrency] = $this->get("account.currency"); |
| 266 |
$this->_saveState(); |
$this->_saveState(); |
| 267 |
} |
} |
| 268 |
//print "state: " . $this->get("financeInfo.currency") . "<br>"; |
//print "state: " . $this->get("financeInfo.currency") . "<br>"; |
| 312 |
return $this->state[postvars][$var]; |
return $this->state[postvars][$var]; |
| 313 |
} |
} |
| 314 |
|
|
| 315 |
|
function hadTimeout() { |
| 316 |
|
if ($this->state[autologout]) { return 1; } |
| 317 |
|
} |
| 318 |
|
|
| 319 |
} |
} |
| 320 |
|
|