/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc
ViewVC logotype

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Mar 1 17:02:09 2003 UTC (21 years, 6 months ago) by joko
Branch: MAIN
+ initial commit, inheriting from DesignPattern::MVC

1 joko 1.1 <?php
2    
3     /**
4     * This file contains the phpHtmlLib::controller::WebMVC class,
5     * which inherits from the DesignPattern::MVC class.
6     *
7     * @author Andreas Motl <andreas.motl@ilo.de>
8     * @package phpHtmlLib
9     * @module controller::WebMVC
10     * @base DesignPattern::MVC
11     *
12     */
13    
14     /**
15     * $Id: MVC.php,v 1.1 2003/03/01 15:31:18 joko Exp $
16     *
17     * $Log: MVC.php,v $
18     *
19     */
20    
21    
22     /**
23     * This tries to implement some parts of the MVC Pattern
24     * suitable to work together with phpHtmlLib or maybe
25     * another Web-Framework written in php.
26     *
27     *
28     * @author Andreas Motl <andreas.motl@ilo.de>
29     * @copyright (c) 2003 - All Rights reserved.
30     * @license GNU LGPL (GNU Lesser General Public License)
31     *
32     * @author-url http://www.netfrag.org/~joko/
33     * @license-url http://www.gnu.org/licenses/lgpl.txt
34     *
35     * @package phpHtmlLib
36     * @module controller::WebMVC
37     * @base DesignPattern::MVC
38     *
39     */
40    
41     /**
42     * Todo:
43     *
44     * o xyz
45     * o bla, bli, blub
46     *
47     *
48     */
49    
50    
51     // isn't required by now:
52     //loadModule('DesignPattern::Object');
53     //class DesignPattern_MVC extends DesignPattern_Object {
54    
55     loadModule('DesignPattern::MVC');
56     class WebMVC extends DesignPattern_MVC {
57    
58    
59     /**
60     * The constructor ...
61     * ... just does nothing again.
62     *
63     * @param registry
64     */
65     function WebMVC() {
66     // new!!! user_setup (like phpHtmlLib... coming closer...)
67     $this->user_setup();
68     }
69    
70     function user_setup() {
71     $this->_abstract_method('user_setup');
72     }
73    
74    
75     /*
76     function add_model() {
77     $this->_abstract_method('add_model');
78     }
79    
80     function add_view() {
81     $this->_abstract_method('add_view');
82     }
83    
84     function add_controller() {
85     $this->_abstract_method('add_controller');
86     }
87    
88     function setup_views() {
89     $this->_abstract_method('setup_views');
90     }
91     */
92    
93     }
94    
95     ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed