5 |
* which inherits from the DesignPattern::MVC class. |
* which inherits from the DesignPattern::MVC class. |
6 |
* |
* |
7 |
* @author Andreas Motl <andreas.motl@ilo.de> |
* @author Andreas Motl <andreas.motl@ilo.de> |
8 |
* @package phpHtmlLib |
* @package org.netfrag.glib |
9 |
* @module controller::WebMVC |
* @name Site::WebAppMVC |
10 |
* @base DesignPattern::MVC |
* @uses DesignPattern::MVC |
11 |
* |
* |
12 |
*/ |
*/ |
13 |
|
|
14 |
/** |
/** |
15 |
|
* <b>Cvs-Log:</b> |
16 |
|
* |
17 |
|
* <pre> |
18 |
* $Id$ |
* $Id$ |
19 |
* |
* |
20 |
* $Log$ |
* $Log$ |
21 |
|
* Revision 1.4 2003/03/11 01:22:27 joko |
22 |
|
* + fixed metadata for phpDocumentor |
23 |
|
* |
24 |
|
* Revision 1.3 2003/03/05 18:54:45 joko |
25 |
|
* updated docu - phpDocumentor is very strict about its 'blocks'... |
26 |
|
* |
27 |
|
* Revision 1.2 2003/03/05 16:10:20 joko |
28 |
|
* updated docu (phpDocumentor testing....) |
29 |
|
* |
30 |
* Revision 1.1 2003/03/03 22:08:43 joko |
* Revision 1.1 2003/03/03 22:08:43 joko |
31 |
* refactored from com.newsblob.phphtmllib/controller/WebMVC.inc |
* refactored from com.newsblob.phphtmllib/controller/WebMVC.inc |
32 |
* |
* |
39 |
* |
* |
40 |
* Revision 1.1 2003/03/01 17:02:09 joko |
* Revision 1.1 2003/03/01 17:02:09 joko |
41 |
* + initial commit, inheriting from DesignPattern::MVC |
* + initial commit, inheriting from DesignPattern::MVC |
42 |
* |
* </pre> |
43 |
* |
* |
44 |
*/ |
*/ |
45 |
|
|
46 |
|
|
47 |
|
loadModule('DesignPattern::MVC'); |
48 |
|
|
49 |
|
|
50 |
/** |
/** |
51 |
* This tries to implement some parts of the MVC Pattern |
* This tries to implement some parts of the MVC Pattern |
52 |
* suitable to work together with phpHtmlLib or maybe |
* suitable to work together with phpHtmlLib or maybe |
57 |
* @copyright (c) 2003 - All Rights reserved. |
* @copyright (c) 2003 - All Rights reserved. |
58 |
* @license GNU LGPL (GNU Lesser General Public License) |
* @license GNU LGPL (GNU Lesser General Public License) |
59 |
* |
* |
60 |
* @author-url http://www.netfrag.org/~joko/ |
* @link http://www.netfrag.org/~joko/ |
61 |
* @license-url http://www.gnu.org/licenses/lgpl.txt |
* @link http://www.gnu.org/licenses/lgpl.txt |
|
* |
|
|
* @package phpHtmlLib |
|
|
* @module controller::WebMVC |
|
|
* @base DesignPattern::MVC |
|
|
* |
|
|
*/ |
|
|
|
|
|
/** |
|
|
* Todo: |
|
|
* |
|
|
* o xyz |
|
|
* o bla, bli, blub |
|
62 |
* |
* |
63 |
|
* @package org.netfrag.glib |
64 |
|
* @subpackage Site |
65 |
|
* @name Site::WebAppMVC |
66 |
|
* @uses DesignPattern::MVC |
67 |
* |
* |
68 |
*/ |
*/ |
|
|
|
|
|
|
|
// isn't required by now: |
|
|
//loadModule('DesignPattern::Object'); |
|
|
//class DesignPattern_MVC extends DesignPattern_Object { |
|
|
|
|
|
loadModule('DesignPattern::MVC'); |
|
69 |
class Site_WebAppMVC extends DesignPattern_MVC { |
class Site_WebAppMVC extends DesignPattern_MVC { |
70 |
|
|
71 |
|
|
88 |
function handle() { |
function handle() { |
89 |
|
|
90 |
// trace |
// trace |
91 |
print "MVC - performed result: " . Dumper($this->_performed_result); |
//print "MVC - performed result: " . Dumper($this->_performed_result); |
92 |
//exit; |
//exit; |
93 |
|
|
94 |
if (!sizeof($this->_performed_result)) { |
if (!sizeof($this->_performed_result)) { |