15 |
* $Id$ |
* $Id$ |
16 |
* |
* |
17 |
* $Log$ |
* $Log$ |
18 |
|
* Revision 1.3 2003/03/01 22:43:56 joko |
19 |
|
* propagating options properly |
20 |
|
* |
21 |
* Revision 1.2 2003/03/01 21:19:02 joko |
* Revision 1.2 2003/03/01 21:19:02 joko |
22 |
* now actually does something via '->handle' |
* now actually does something via '->handle' |
23 |
* established static component registry here |
* established static component registry here |
82 |
} |
} |
83 |
|
|
84 |
function handle() { |
function handle() { |
85 |
print "MVC - performed result: " . Dumper($this->_performed_result); |
|
86 |
//exit; |
// trace |
87 |
|
print "MVC - performed result: " . Dumper($this->_performed_result); |
88 |
|
//exit; |
89 |
|
|
90 |
if (!sizeof($this->_performed_result)) { |
if (!sizeof($this->_performed_result)) { |
91 |
user_error("MVC failed - performed result was empty."); |
user_error("MVC failed - performed result was empty."); |
92 |
} |
} |
94 |
// encapsulation here - no passthrough!!! |
// encapsulation here - no passthrough!!! |
95 |
$result = array( |
$result = array( |
96 |
'view' => $this->_performed_result[view], |
'view' => $this->_performed_result[view], |
97 |
|
'options' => $this->_performed_result[options], |
98 |
); |
); |
99 |
|
|
100 |
return $result; |
return $result; |