--- nfo/php/libs/org.netfrag.flib/Site/Request.php 2002/12/13 09:18:48 1.4
+++ nfo/php/libs/org.netfrag.flib/Site/Request.php 2002/12/19 16:24:52 1.5
@@ -1,8 +1,11 @@
// -------------------------------------------------------------------------
-// $Id: Request.php,v 1.4 2002/12/13 09:18:48 joko Exp $
+// $Id: Request.php,v 1.5 2002/12/19 16:24:52 joko Exp $
// -------------------------------------------------------------------------
// $Log: Request.php,v $
+// Revision 1.5 2002/12/19 16:24:52 joko
+// + debugging
+//
// Revision 1.4 2002/12/13 09:18:48 joko
// + new mechanisms for handling the request: split up into _read and _parse
// + introduced caching-mechanism
@@ -63,10 +66,11 @@
$this->site->log( get_class($this) . "->_read( identifier $identifier )", LOG_DEBUG );
- // remember arguments in object
+ // remember raw arguments in object
$this->raw[identifier] = $identifier;
$this->raw[externalpage] = $externalpage;
-
+ // TODO: url
+
$this->meta[read] = 1;
}
@@ -85,7 +89,7 @@
//$handler = $this->getHandler($ident);
$this->site->log( get_class($this) . "->_parse: getHandler( identifier $ident )", LOG_DEBUG );
$handler = $this->site->getHandler($ident);
- //print "handler: " . dumpvar($handler) . "
";
+//print "handler:
" . Dumper($handler) . "
";
$handler[name] = $ident;
// parse action from identifier
@@ -93,6 +97,7 @@
$action = substr($ident, strrpos($ident, '/') + 1);
}
+ // this is the internal (metadata-)structure of the request-object
$result = array(
'raw' => $this->raw,
'ident' => $ident,