5 |
* class to seamlessly integrate into its render queue. |
* class to seamlessly integrate into its render queue. |
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 MVCPage |
* @name Site::WebBlock |
10 |
* |
* |
11 |
*/ |
*/ |
12 |
|
|
14 |
* $Id$ |
* $Id$ |
15 |
* |
* |
16 |
* $Log$ |
* $Log$ |
17 |
|
* Revision 1.3 2003/03/10 01:05:07 joko |
18 |
|
* + additional metadata for Autodia |
19 |
|
* |
20 |
|
* Revision 1.2 2003/03/05 18:54:45 joko |
21 |
|
* updated docu - phpDocumentor is very strict about its 'blocks'... |
22 |
|
* |
23 |
* Revision 1.1 2003/03/05 12:18:47 joko |
* Revision 1.1 2003/03/05 12:18:47 joko |
24 |
* from GenericPage.php |
* from GenericPage.php |
25 |
* |
* |
31 |
|
|
32 |
|
|
33 |
/** |
/** |
34 |
|
* Make sure we have the required parent class |
35 |
|
*/ |
36 |
|
//class Site_WebPageMVC extends PageWidget { |
37 |
|
//loadModule('DesignPattern::MVC'); |
38 |
|
//class Site_GenericPage extends DesignPattern_MVC { |
39 |
|
//loadModule('DesignPattern::Proxy'); |
40 |
|
loadModule('DesignPattern::TransparentProxy'); |
41 |
|
|
42 |
|
|
43 |
|
/** |
44 |
* This class is used to build content |
* This class is used to build content |
45 |
* for an MVC controlled page. It instantiates |
* for an MVC controlled page. It instantiates |
46 |
* an concrete helper MVC object which does the |
* an concrete helper MVC object which does the |
56 |
* Page-implementations here in future... |
* Page-implementations here in future... |
57 |
* |
* |
58 |
* @author Andreas Motl <andreas.motl@ilo.de> |
* @author Andreas Motl <andreas.motl@ilo.de> |
59 |
* @package phpHtmlLib |
* @package org.netfrag.glib |
60 |
* @module MVCPage |
* @subpackage Site |
61 |
|
* @name Site::WebBlock |
62 |
|
* |
63 |
|
* @todo x phpHtmlLib::PageWidget-Adapter |
64 |
|
* @todo o php-include-file-Adapter |
65 |
* |
* |
66 |
*/ |
*/ |
|
|
|
|
// TODO: |
|
|
// x phpHtmlLib::PageWidget-Adapter |
|
|
// o php-include-file-Adapter |
|
|
|
|
|
/** |
|
|
* Make sure we have the required parent class |
|
|
*/ |
|
|
|
|
|
//class Site_WebPageMVC extends PageWidget { |
|
|
//loadModule('DesignPattern::MVC'); |
|
|
//class Site_GenericPage extends DesignPattern_MVC { |
|
|
|
|
|
//loadModule('DesignPattern::Proxy'); |
|
|
loadModule('DesignPattern::TransparentProxy'); |
|
|
|
|
67 |
//class Site_GenericPage extends DesignPattern_Proxy { |
//class Site_GenericPage extends DesignPattern_Proxy { |
68 |
class Site_WebBlock extends DesignPattern_TransparentProxy { |
class Site_WebBlock extends DesignPattern_TransparentProxy { |
69 |
|
|
102 |
// merge args to object attributes |
// merge args to object attributes |
103 |
// FIXME!!! |
// FIXME!!! |
104 |
//$this->merge_args($args); |
//$this->merge_args($args); |
105 |
|
|
106 |
|
/** |
107 |
|
* <!-- Autodia --> |
108 |
|
* can do: (this is metadata supplied for Autodia, don't delete!) |
109 |
|
* $proxy = new Site_Adapter_phpHtmlLib_PageWidget() |
110 |
|
* $proxy = new Site_Adapter_php_IncludeFile() |
111 |
|
* $proxy = new Site_Adapter_php_Class() |
112 |
|
* $proxy = new Site_Adapter_php_Object() |
113 |
|
* |
114 |
|
*/ |
115 |
|
|
116 |
// --- Proxy selector (an Adapter acts as a Proxy here to get transparent....) |
// --- Proxy selector (an Adapter acts as a Proxy here to get transparent....) |
117 |
|
|