3 |
// $Id$ |
// $Id$ |
4 |
// ----------------------------------------------------------------------------- |
// ----------------------------------------------------------------------------- |
5 |
// $Log$ |
// $Log$ |
6 |
|
// Revision 1.12 2003/03/03 21:20:47 joko |
7 |
|
// mungled the namespaces |
8 |
|
// |
9 |
// Revision 1.11 2003/02/14 14:22:06 joko |
// Revision 1.11 2003/02/14 14:22:06 joko |
10 |
// + always (re-)tries to connect |
// + always (re-)tries to connect |
11 |
// |
// |
13 |
// + caching mechanisms more configurable now |
// + caching mechanisms more configurable now |
14 |
// |
// |
15 |
// Revision 1.9 2003/02/09 17:46:26 joko |
// Revision 1.9 2003/02/09 17:46:26 joko |
16 |
// + now utilizing Data::Driver::Proxy and Data::Deep |
// + now utilizing DesignPattern::RemoteProxy and Data::Deep |
17 |
// |
// |
18 |
// Revision 1.8 2002/12/28 01:16:42 jonen |
// Revision 1.8 2002/12/28 01:16:42 jonen |
19 |
// + added clear of $this->state[autologout] at 'hadTimeout()' |
// + added clear of $this->state[autologout] at 'hadTimeout()' |
120 |
$this->meta[data_ready] = 1; |
$this->meta[data_ready] = 1; |
121 |
//$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) ); |
122 |
$rpcinfo = $this->site->configuration->get("rpcinfo"); |
$rpcinfo = $this->site->configuration->get("rpcinfo"); |
123 |
$this->pObject = mkObject('Data::Driver::Proxy', $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 ) ); |
124 |
if ($this->getUserGuid()) { |
if ($this->getUserGuid()) { |
125 |
$this->data = $this->pObject->getAttributes(); |
$this->data = $this->pObject->getAttributes(); |
126 |
} |
} |