| 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 |
// Revision 1.12 2003/03/03 21:20:47 joko |
| 20 |
// mungled the namespaces |
// mungled the namespaces |
| 21 |
// |
// |
| 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; |
| 144 |
$rpcinfo = $this->site->configuration->get("rpcinfo"); |
$rpcinfo = $this->site->configuration->get("rpcinfo"); |
| 145 |
$this->pObject = mkObject('DesignPattern::RemoteProxy', $this->getUserGuid(), array( remote => 1, classname => "NetPerson", guid => 1, rpcinfo => $rpcinfo, cache => array( db => 1, session => 1 ), connect => 1 ) ); |
$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 |
|
|