/[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.9 by joko, Sun Feb 9 17:46:26 2003 UTC revision 1.13 by joko, Fri Apr 4 02:15:09 2003 UTC
# Line 1  Line 1 
1  <?  <?
2    /**
3     * This file contains the Tracker::User module.
4     *
5     * @author Andreas Motl <andreas.motl@ilo.de>
6     * @package org.netfrag.flib
7     * @name Tracker::User
8     *
9     */
10    
11    
12  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
13  //    $Id$  //    $Id$
14  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
15  //    $Log$  //    $Log$
16    //    Revision 1.13  2003/04/04 02:15:09  joko
17    //    renamed method of helper object
18    //
19    //    Revision 1.12  2003/03/03 21:20:47  joko
20    //    mungled the namespaces
21    //
22    //    Revision 1.11  2003/02/14 14:22:06  joko
23    //    + always (re-)tries to connect
24    //
25    //    Revision 1.10  2003/02/13 21:58:39  joko
26    //    + caching mechanisms more configurable now
27    //
28  //    Revision 1.9  2003/02/09 17:46:26  joko  //    Revision 1.9  2003/02/09 17:46:26  joko
29  //    + now utilizing Data::Driver::Proxy and Data::Deep  //    + now utilizing DesignPattern::RemoteProxy and Data::Deep
30  //  //
31  //    Revision 1.8  2002/12/28 01:16:42  jonen  //    Revision 1.8  2002/12/28 01:16:42  jonen
32  //    + added clear of $this->state[autologout] at 'hadTimeout()'  //    + added clear of $this->state[autologout] at 'hadTimeout()'
# Line 74  Line 96 
96  //  //
97  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
98    
99    
100    /**
101     * This is the User class.
102     *
103     * @author Andreas Motl <andreas.motl@ilo.de>
104     * @package org.netfrag.flib
105     * @name Tracker::User
106     *
107     */
108  class User {  class User {
109        
110    var $state;    var $state;
# Line 111  class User { Line 142  class User {
142      $this->meta[data_ready] = 1;      $this->meta[data_ready] = 1;
143      //$this->pObject = new ProxyObject($this->getUserGuid(), array( remote => 1, classname => "NetPerson", guid => 1) );      //$this->pObject = new ProxyObject($this->getUserGuid(), array( remote => 1, classname => "NetPerson", guid => 1) );
144      $rpcinfo = $this->site->configuration->get("rpcinfo");      $rpcinfo = $this->site->configuration->get("rpcinfo");
145      $this->pObject = mkObject('Data::Driver::Proxy', $this->getUserGuid(), array( remote => 1, classname => "NetPerson", guid => 1, rpcinfo => $rpcinfo ) );      $this->pObject = mkObject('DesignPattern::RemoteProxy', $this->getUserGuid(), array( remote => 1, classname => "NetPerson", guid => 1, rpcinfo => $rpcinfo, cache => array( db => 1, session => 1 ), connect => 1 ) );
146      if ($this->getUserGuid()) {      if ($this->getUserGuid()) {
147        $this->data = $this->pObject->getAttributes();        $this->data = $this->pObject->getResult();
148      }      }
149    }    }
150    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.13

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