source: trunk/Common/Base.php@ 666

Last change on this file since 666 was 565, checked in by chronos, 12 years ago
  • Upraveno: Třída Module nahrazena třídami Model, View, Controller.
  • Přidáno: Modul Wiki.
  • Property svn:executable set to *
File size: 346 bytes
Line 
1<?php
2
3class Base
4{
5 /** @var Database */
6 var $Database;
7 /** @var System */
8 var $System;
9
10 function __construct($System)
11 {
12 $this->System = &$System;
13 $this->Database = &$System->Database;
14 }
15}
16
17class Model extends Base
18{
19
20}
21
22class View extends Base
23{
24
25}
26
27class Controller extends Base
28{
29
30}
Note: See TracBrowser for help on using the repository browser.