| 12 |
*/ |
*/ |
| 13 |
|
|
| 14 |
/** |
/** |
| 15 |
|
* <b>Cvs-Log:</b> |
| 16 |
|
* |
| 17 |
|
* <pre> |
| 18 |
* $Id$ |
* $Id$ |
| 19 |
* |
* |
| 20 |
* $Log$ |
* $Log$ |
| 21 |
|
* Revision 1.5 2003/04/04 21:18:37 joko |
| 22 |
|
* modified exception handling |
| 23 |
|
* |
| 24 |
|
* Revision 1.4 2003/03/11 01:22:27 joko |
| 25 |
|
* + fixed metadata for phpDocumentor |
| 26 |
|
* |
| 27 |
* Revision 1.3 2003/03/05 18:54:45 joko |
* Revision 1.3 2003/03/05 18:54:45 joko |
| 28 |
* updated docu - phpDocumentor is very strict about its 'blocks'... |
* updated docu - phpDocumentor is very strict about its 'blocks'... |
| 29 |
* |
* |
| 42 |
* |
* |
| 43 |
* Revision 1.1 2003/03/01 17:02:09 joko |
* Revision 1.1 2003/03/01 17:02:09 joko |
| 44 |
* + initial commit, inheriting from DesignPattern::MVC |
* + initial commit, inheriting from DesignPattern::MVC |
| 45 |
* |
* </pre> |
| 46 |
* |
* |
| 47 |
*/ |
*/ |
| 48 |
|
|
| 94 |
//print "MVC - performed result: " . Dumper($this->_performed_result); |
//print "MVC - performed result: " . Dumper($this->_performed_result); |
| 95 |
//exit; |
//exit; |
| 96 |
|
|
| 97 |
if (!sizeof($this->_performed_result)) { |
if ($this->check_performed_result()) { |
| 98 |
user_error("MVC failed - performed result was empty."); |
// encapsulation here - no passthrough!!! |
| 99 |
|
$result = array( |
| 100 |
|
'view' => $this->_performed_result[view], |
| 101 |
|
'options' => $this->_performed_result[options], |
| 102 |
|
); |
| 103 |
|
return $result; |
| 104 |
} |
} |
| 105 |
|
|
|
// encapsulation here - no passthrough!!! |
|
|
$result = array( |
|
|
'view' => $this->_performed_result[view], |
|
|
'options' => $this->_performed_result[options], |
|
|
); |
|
|
|
|
|
return $result; |
|
| 106 |
} |
} |
| 107 |
|
|
| 108 |
|
|