/[cvs]/nfo/php/libs/org.netfrag.flib/Tracker/User.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Tracker/User.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by joko, Tue Dec 3 16:47:22 2002 UTC revision 1.4 by joko, Fri Dec 6 04:10:28 2002 UTC
# Line 3  Line 3 
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  //    Revision 1.2  2002/12/03 16:47:22  joko
13  //    - function preLogout()  //    - function preLogout()
14  //    + function preLogout($autologout = 0)  //    + function preLogout($autologout = 0)
# Line 100  class User { Line 106  class User {
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        
# Line 247  class User { Line 253  class User {
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];
# Line 256  class User { Line 262  class User {
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>";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed