/[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.4 by joko, Fri Dec 6 04:10:28 2002 UTC revision 1.5 by joko, Thu Dec 12 21:34:32 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.5  2002/12/12 21:34:32  joko
7    //    + fix in 'function update': invalidate data only if it's not for caching purposes
8    //
9  //    Revision 1.4  2002/12/06 04:10:28  joko  //    Revision 1.4  2002/12/06 04:10:28  joko
10  //    + replaced 'xyzCache' through 'xyzProxy'  //    + replaced 'xyzCache' through 'xyzProxy'
11  //  //
# Line 111  class User { Line 114  class User {
114    }    }
115        
116    function _save($type = '') {    function _save($type = '') {
117    //print Dumper($this->data);
118      $this->pObject->save($this->data, $type);      $this->pObject->save($this->data, $type);
119      $this->meta[data_ready] = 0;      // invalidate data only if it's not for caching purposes
120        if ($type != 'cache') {
121          $this->meta[data_ready] = 0;
122        }
123    }    }
124        
125    function save() {    function save() {
# Line 197  class User { Line 204  class User {
204    }    }
205        
206    
207    function update(&$uservars) {    function update($vars) {
208      $this->setPostVars($uservars);      $this->setPostVars($vars);
209      $data = $this->_transformInputData($uservars);  //print Dumper($vars);
210        $data = $this->_transformInputData($vars);
211      $this->_saveData($data);      $this->_saveData($data);
212    }    }
213    

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

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