--- nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc 2003/03/01 21:19:02 1.2
+++ nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc 2003/03/01 22:43:56 1.3
@@ -12,9 +12,12 @@
*/
/**
- * $Id: WebMVC.inc,v 1.2 2003/03/01 21:19:02 joko Exp $
+ * $Id: WebMVC.inc,v 1.3 2003/03/01 22:43:56 joko Exp $
*
* $Log: WebMVC.inc,v $
+ * Revision 1.3 2003/03/01 22:43:56 joko
+ * propagating options properly
+ *
* Revision 1.2 2003/03/01 21:19:02 joko
* now actually does something via '->handle'
* established static component registry here
@@ -79,8 +82,11 @@
}
function handle() {
- print "MVC - performed result: " . Dumper($this->_performed_result);
- //exit;
+
+ // trace
+ print "MVC - performed result: " . Dumper($this->_performed_result);
+ //exit;
+
if (!sizeof($this->_performed_result)) {
user_error("MVC failed - performed result was empty.");
}
@@ -88,6 +94,7 @@
// encapsulation here - no passthrough!!!
$result = array(
'view' => $this->_performed_result[view],
+ 'options' => $this->_performed_result[options],
);
return $result;