3 |
// $Id$ |
// $Id$ |
4 |
// ------------------------------------------------------------------------- |
// ------------------------------------------------------------------------- |
5 |
// $Log$ |
// $Log$ |
6 |
|
// Revision 1.5 2002/12/19 16:24:52 joko |
7 |
|
// + debugging |
8 |
|
// |
9 |
// Revision 1.4 2002/12/13 09:18:48 joko |
// Revision 1.4 2002/12/13 09:18:48 joko |
10 |
// + new mechanisms for handling the request: split up into _read and _parse |
// + new mechanisms for handling the request: split up into _read and _parse |
11 |
// + introduced caching-mechanism |
// + introduced caching-mechanism |
66 |
|
|
67 |
$this->site->log( get_class($this) . "->_read( identifier $identifier )", LOG_DEBUG ); |
$this->site->log( get_class($this) . "->_read( identifier $identifier )", LOG_DEBUG ); |
68 |
|
|
69 |
// remember arguments in object |
// remember raw arguments in object |
70 |
$this->raw[identifier] = $identifier; |
$this->raw[identifier] = $identifier; |
71 |
$this->raw[externalpage] = $externalpage; |
$this->raw[externalpage] = $externalpage; |
72 |
|
// TODO: url |
73 |
|
|
74 |
$this->meta[read] = 1; |
$this->meta[read] = 1; |
75 |
|
|
76 |
} |
} |
89 |
//$handler = $this->getHandler($ident); |
//$handler = $this->getHandler($ident); |
90 |
$this->site->log( get_class($this) . "->_parse: getHandler( identifier $ident )", LOG_DEBUG ); |
$this->site->log( get_class($this) . "->_parse: getHandler( identifier $ident )", LOG_DEBUG ); |
91 |
$handler = $this->site->getHandler($ident); |
$handler = $this->site->getHandler($ident); |
92 |
//print "handler: " . dumpvar($handler) . "<br>"; |
//print "handler:<br>" . Dumper($handler) . "<br>"; |
93 |
$handler[name] = $ident; |
$handler[name] = $ident; |
94 |
|
|
95 |
// parse action from identifier |
// parse action from identifier |
97 |
$action = substr($ident, strrpos($ident, '/') + 1); |
$action = substr($ident, strrpos($ident, '/') + 1); |
98 |
} |
} |
99 |
|
|
100 |
|
// this is the internal (metadata-)structure of the request-object |
101 |
$result = array( |
$result = array( |
102 |
'raw' => $this->raw, |
'raw' => $this->raw, |
103 |
'ident' => $ident, |
'ident' => $ident, |